Files
CASAN/AINative_OKR_CASAN5/docs/output/casan/app-evidence/backend-npm-test-after-golden-restore.log
T
2026-06-30 02:21:39 +09:00

45 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> @ainative-okr/backend@1.0.0 test
> export DATABASE_URL='file:./test.db' JWT_SECRET='test-secret'; npm run db:setup && prisma db seed && node --import tsx --test test/**/*.test.ts
> @ainative-okr/backend@1.0.0 db:setup
> prisma generate && node scripts/setup-sqlite.mjs
warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`).
For more information, see: https://pris.ly/prisma-config
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v6.19.3) to ./../node_modules/@prisma/client in 45ms
Start by importing your Prisma Client (See: https://pris.ly/d/importing-client)
Tip: Interested in query caching in just a few lines of code? Try Accelerate today! https://pris.ly/tip-3-accelerate
(node:20350) ExperimentalWarning: SQLite is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
SQLite schema applied to /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/AINative_OKR_CASAN5/backend/prisma/test.db
warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`).
For more information, see: https://pris.ly/prisma-config
Environment variables loaded from .env
Running seed command `tsx prisma/seed.ts` ...
Seed completed successfully.
🌱 The seed command has been executed.
✔ HTTP auth, role filtering, validation, and progress update are real (567.108084ms)
✔ golden objective list response does not drift (243.635834ms)
✔ AuthService rejects invalid passwords and signs valid users (471.020625ms)
✔ ObjectivesService applies employee role filtering (3.832333ms)
✔ KeyResultsService blocks employee updates to another owner and recalculates owned progress (8.625958ms)
ℹ tests 5
ℹ suites 0
ℹ pass 5
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1293.473125