Skip to content

chore: bump the vitest group with 2 updates #14050

chore: bump the vitest group with 2 updates

chore: bump the vitest group with 2 updates #14050

Triggered via pull request July 10, 2024 09:22
Status Failure
Total duration 2m 56s
Artifacts

ci.yml

on: pull_request
Matrix: Build & Test
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
Lint: server/documents/user.document.service.spec.ts#L7
No overload matches this call.
Lint: server/documents/user.document.service.spec.ts#L95
Property 'mockResolvedValue' does not exist on type '(<T extends UserDocumentFindUniqueArgs>(args: SelectSubset<T, UserDocumentFindUniqueArgs<DefaultArgs>>) => Prisma__UserDocumentClient<GetFindResult<$UserDocumentPayload<DefaultArgs>, T, {}> | null, null, DefaultArgs>) & CalledWithMock<...>'.
Lint: server/journals/journal.service.spec.ts#L6
No overload matches this call.
Lint: server/journals/journal.service.spec.ts#L31
Property 'mockResolvedValue' does not exist on type '(<T extends JournalFindFirstArgs>(args?: SelectSubset<T, JournalFindFirstArgs<DefaultArgs>> | undefined) => Prisma__JournalClient<GetFindResult<$JournalPayload<DefaultArgs>, T, {}> | null, null, DefaultArgs>) & CalledWithMock<...>'.
Lint: server/journals/journal.service.spec.ts#L44
Property 'mockResolvedValue' does not exist on type '(<T extends JournalFindFirstArgs>(args?: SelectSubset<T, JournalFindFirstArgs<DefaultArgs>> | undefined) => Prisma__JournalClient<GetFindResult<$JournalPayload<DefaultArgs>, T, {}> | null, null, DefaultArgs>) & CalledWithMock<...>'.
Lint: test/context.helper.ts#L6
Property 'mockImplementation' does not exist on type '(() => Promise<{ id: string; email: string; emailIsVerified: boolean; name: string | null; createdAt: Date; } | null>) & CalledWithMock<Promise<{ id: string; email: string; emailIsVerified: boolean; name: string | null; createdAt: Date; } | null>, []>'.
Lint: test/global.setup.ts#L28
Property 'filepath' does not exist on type 'Readonly<File | Suite>'.
Lint
Process completed with exit code 1.
PrismaClientKnownRequestError: Invalid `prisma.userDocument.create()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:116:29 113 added: '2000-01-01T00:00:00.000Z', 114 }, 115 }) → 116 await prisma.userDocument.create( Unique constraint failed on the fields: (`id`): server/database/seed.ts#L116
at server/database/seed.ts:116:29 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:116:3 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/documents/integration.test.ts:7:3
PrismaClientKnownRequestError: Invalid `prisma.userDocument.update()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:647:31 644 'ckr9eqap6000301mk20hycjqb', 645 'ckr9eq4oc000101mk1ga9bxnt', 646 ]) { → 647 await prisma.userDocument.update( Query interpretation error. Error for binding '0': AssertionError("Required exactly one parent ID to be present for connect query, found 0."): server/database/seed.ts#L647
at server/database/seed.ts:647:31 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:647:5 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/documents/integration.test.ts:7:3
PrismaClientKnownRequestError: Invalid `prisma.userDocument.update()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:647:31 644 'ckr9eqap6000301mk20hycjqb', 645 'ckr9eq4oc000101mk1ga9bxnt', 646 ]) { → 647 await prisma.userDocument.update( Query interpretation error. Error for binding '0': AssertionError("Required exactly one parent ID to be present for connect query, found 0."): server/database/seed.ts#L647
at server/database/seed.ts:647:31 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:647:5 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/documents/integration.test.ts:7:3
PrismaClientKnownRequestError: Invalid `prisma.userDocument.update()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:691:31 688 'ckonduhjk000701mh12wia4nf', 689 'ckondu6bh000501mh2o2tf00u', 690 ]) { → 691 await prisma.userDocument.update( An operation failed because it depends on one or more records that were required but not found. Expected 1 records to be connected, found only 0.: server/database/seed.ts#L691
at server/database/seed.ts:691:31 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:691:5 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/user/integration.test.ts:6:3
PrismaClientKnownRequestError: Invalid `prisma.userDocument.update()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:647:31 644 'ckr9eqap6000301mk20hycjqb', 645 'ckr9eq4oc000101mk1ga9bxnt', 646 ]) { → 647 await prisma.userDocument.update( Query interpretation error. Error for binding '0': AssertionError("Required exactly one parent ID to be present for connect query, found 0."): server/database/seed.ts#L647
at server/database/seed.ts:647:31 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:647:5 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/user/integration.test.ts:6:3
PrismaClientKnownRequestError: Invalid `prisma.group.create()` invocation in /home/runner/work/JabRefOnline/JabRefOnline/server/database/seed.ts:571:22 568 }, 569 }, 570 }) → 571 await prisma.group.create( Unique constraint failed on the fields: (`id`): server/database/seed.ts#L571
at server/database/seed.ts:571:22 at _n.handleRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6927 at _n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:6235 at _n.request node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:122:5919 at l node_modules/.pnpm/@prisma+client@5.16.1_prisma@5.16.1/node_modules/@prisma/client/runtime/library.js:131:9116 at seedInternal server/database/seed.ts:571:3 at Module.seed server/database/seed.ts:742:5 at Module.resetToSeed server/database/truncate.ts:47:3 at server/user/integration.test.ts:6:3
Build & Test (ubuntu-latest, 20)
Process completed with exit code 1.
Lint: apollo/cache.ts#L20
Unexpected any. Specify a different type
Lint: apollo/validation.ts#L9
Unexpected any. Specify a different type
Lint: components/DocumentEditorInput.vue#L28
The "input" event has been triggered but not declared on `emits` option
Lint: components/SideBar.vue#L122
Unexpected any. Specify a different type
Lint: components/TTable.vue#L34
Unexpected any. Specify a different type
Lint: components/t-alert.stories.ts#L5
Unsafe assignment of an error typed value
Lint: components/t-checkbox.stories.ts#L5
Unsafe assignment of an error typed value
Lint: components/t-dropdown.stories.ts#L5
Unsafe assignment of an error typed value
Lint: components/t-input-group.stories.ts#L5
Unsafe assignment of an error typed value
Lint: components/t-input.stories.ts#L5
Unsafe assignment of an error typed value