Skip to content

feat: model collection #18

feat: model collection

feat: model collection #18

Triggered via push December 15, 2024 10:14
Status Failure
Total duration 23s
Artifacts

node.js.yml

on: push
cache-and-install
12s
cache-and-install
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unhandled error: src/composables/useCollection.js#L46
TypeError: default is not a function ❯ getDetailCollection src/composables/useCollection.js:46:36 ❯ addTodo src/composables/useTodo.js:17:23 ❯ tests/unit/todo.test.js:38:5 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/composables/useCollection.js#L46
TypeError: default is not a function ❯ getDetailCollection src/composables/useCollection.js:46:36 ❯ addTodo src/composables/useTodo.js:17:23 ❯ tests/unit/todo.test.js:56:5 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/composables/useCollection.js#L46
TypeError: default is not a function ❯ getDetailCollection src/composables/useCollection.js:46:36 ❯ addTodo src/composables/useTodo.js:17:23 ❯ tests/unit/todo.test.js:75:5 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/composables/useCollection.js#L46
TypeError: default is not a function ❯ getDetailCollection src/composables/useCollection.js:46:36 ❯ addTodo src/composables/useTodo.js:17:23 ❯ tests/unit/todo.test.js:99:5 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js#L117
ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object such as an object store or index already exists and a request attempted to create a new one. ❯ ObjectStore.storeRecord node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js:117:15 ❯ FDBTransaction._start node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/FDBTransaction.js:151:26 ❯ Immediate.<anonymous> node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/Database.js:27:16 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js#L117
ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object such as an object store or index already exists and a request attempted to create a new one. ❯ ObjectStore.storeRecord node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js:117:15 ❯ FDBTransaction._start node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/FDBTransaction.js:151:26 ❯ Immediate.<anonymous> node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/Database.js:27:16 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
Unhandled error: node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js#L117
ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object such as an object store or index already exists and a request attempted to create a new one. ❯ ObjectStore.storeRecord node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js:117:15 ❯ FDBTransaction._start node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/FDBTransaction.js:151:26 ❯ Immediate.<anonymous> node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/Database.js:27:16 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
Unhandled error: node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js#L117
ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. For example, an object such as an object store or index already exists and a request attempted to create a new one. ❯ ObjectStore.storeRecord node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js:117:15 ❯ FDBTransaction._start node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/FDBTransaction.js:151:26 ❯ Immediate.<anonymous> node_modules/.pnpm/fake-indexeddb@5.0.2/node_modules/fake-indexeddb/build/esm/lib/Database.js:27:16 This error originated in "tests/unit/todo.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
tests/unit/todo.test.js > testing functionality of todo > it should be have one todo: src/composables/useTodo.js#L19
TypeError: Cannot read properties of undefined (reading 'push') ❯ addTodo src/composables/useTodo.js:19:11 ❯ tests/unit/todo.test.js:38:5
tests/unit/todo.test.js > testing functionality of todo > it should be have one todo done : src/composables/useTodo.js#L19
TypeError: Cannot read properties of undefined (reading 'push') ❯ addTodo src/composables/useTodo.js:19:11 ❯ tests/unit/todo.test.js:56:5
cache-and-install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636