251206:1710 specs: frontend plan P1,P3 wait Verification
This commit is contained in:
34
backend/test_error_2.txt
Normal file
34
backend/test_error_2.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
||||
|
||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
||||
ΓùÅ Test suite failed to run
|
||||
|
||||
Cannot find module '../../../common/entities/base.entity.js' from 'modules/project/entities/project.entity.ts'
|
||||
|
||||
Require stack:
|
||||
modules/project/entities/project.entity.ts
|
||||
modules/user/entities/user-assignment.entity.ts
|
||||
modules/user/entities/user.entity.ts
|
||||
common/auth/casl/ability.factory.spec.ts
|
||||
|
||||
1 | import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
||||
> 2 | import { BaseEntity } from '../../../common/entities/base.entity.js';
|
||||
| ^
|
||||
3 |
|
||||
4 | @Entity('projects')
|
||||
5 | export class Project extends BaseEntity {
|
||||
|
||||
at Resolver._throwModNotFoundError (../node_modules/jest-resolve/build/index.js:863:11)
|
||||
at Object.<anonymous> (modules/project/entities/project.entity.ts:2:1)
|
||||
at Object.<anonymous> (modules/user/entities/user-assignment.entity.ts:15:1)
|
||||
at Object.<anonymous> (modules/user/entities/user.entity.ts:17:1)
|
||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:3:1)
|
||||
|
||||
Test Suites: 1 failed, 1 total
|
||||
Tests: 0 total
|
||||
Snapshots: 0 total
|
||||
Time: 1.3 s
|
||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
||||
Reference in New Issue
Block a user