feat: model collection #18
Annotations
10 errors and 1 warning
Run Test:
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.
|
Run Test:
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.
|
Run Test:
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.
|
Run Test:
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.
|
Run Test:
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.
|
Run Test:
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
|
Run Test:
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
|
Run Test:
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
|
Run Test:
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
|
Run Test:
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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading