Update all dependencies #522
Annotations
3 errors
Run tests:
__tests__/integration/update-game-stats.test.ts#L52
AssertionError: expected 533 to be 540 // Object.is equality
- Expected
+ Received
- 540
+ 533
❯ __tests__/integration/update-game-stats.test.ts:52:28
|
Run tests:
src/server/functions/update-schedule.ts#L47
PrismaClientKnownRequestError:
Invalid `prisma.game.update()` invocation in
/home/runner/work/nuggets-center/nuggets-center/src/server/functions/update-schedule.ts:47:35
44 if (!gameId) return
45
46 const { opponent_name: _, ...gameData } = game
→ 47 await prisma.game.update(
Unique constraint failed on the fields: (`date`)
❯ $n.handleRequestError node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client/runtime/library.js:121:7315
❯ $n.handleAndLogRequestError node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client/runtime/library.js:121:6623
❯ $n.request node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client/runtime/library.js:121:6307
❯ l node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client/runtime/library.js:130:9633
❯ src/server/functions/update-schedule.ts:47:17
❯ Module.updateSchedule src/server/functions/update-schedule.ts:38:9
❯ __tests__/integration/update-schedule.test.ts:84:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'P2002', clientVersion: '5.22.0', meta: { modelName: 'Game', target: [ 'date' ] }, batchRequestIdx: undefined }
|
Run tests
Process completed with exit code 1.
|
Loading