add vitest #226
Annotations
2 errors
src/services/__test__/unit/FileService.spec.ts > unit tests > processUpload > should process a given upload:
src/db/dao/FileDao.ts#L19
TypeError: Cannot read properties of undefined (reading 'findBy')
❯ FileDao.getEntry src/db/dao/FileDao.ts:19:35
❯ FileRepo.getEntry src/db/repo/FileRepo.ts:15:29
❯ FileService.getFileInfo src/services/FileService.ts:257:46
❯ src/services/__test__/unit/FileService.spec.ts:36:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
build
Process completed with exit code 1.
|