Add stores for data #39
Annotations
3 errors
src/lib/stores/childrenStore.test.ts > normal functionality > should add child successfully:
src/lib/stores/childrenStore.ts#L48
Error: User token [object Object] not found
❯ src/lib/stores/childrenStore.ts:48:10
❯ Object.update node_modules/.pnpm/[email protected]/node_modules/svelte/src/runtime/store/index.js:64:7
❯ Module.addChildData src/lib/stores/childrenStore.ts:46:11
❯ src/lib/stores/childrenStore.test.ts:41:9
|
src/lib/stores/childrenStore.test.ts > normal functionality > should throw when adding with nonexistant user or existing child key:
src/lib/stores/childrenStore.test.ts#L57
AssertionError: expected 'User token [object Object] not found' to be 'Child token childA already exists for…' // Object.is equality
Expected: "Child token childA already exists for user token alpha"
Received: "User token [object Object] not found"
❯ src/lib/stores/childrenStore.test.ts:57:37
|
unit-tests
Process completed with exit code 1.
|