Skip to content

add vitest

add vitest #226

Triggered via pull request April 12, 2024 04:01
@nakedmcsenakedmcse
synchronize #139
vitest
Status Failure
Total duration 39s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.