add vitest #219
Annotations
8 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:23:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > isFileEncrypted > should return a bool with encryption state for a given file:
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:37:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > requiresPassword > should return true if entry requires a password:
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:51:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > getEntry > should return a decrypted buffer and fileupload model for a given filename:
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:65:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > modifyEntry > should modify an entry based on a given modification dto and token:
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:79:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > getFileInfo > should return file information for a given token and human readable bool:
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:93:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
src/services/__test__/unit/FileService.spec.ts > unit tests > processDelete > should delete the files for a given list of tokens:
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:107:35
❯ node_modules/@tsed/common/lib/esm/services/PlatformTest.js:85:20
|
build
Process completed with exit code 1.
|