
> 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/organization.entity.ts'

    Require stack:
      modules/project/entities/organization.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('organizations')
      5 | export class Organization extends BaseEntity {

      at Resolver._throwModNotFoundError (../node_modules/jest-resolve/build/index.js:863:11)
      at Object.<anonymous> (modules/project/entities/organization.entity.ts:2:1)
      at Object.<anonymous> (modules/user/entities/user.entity.ts:16: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.11 s
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
