-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I am using Jest to test my user-service and my user-service has the following import:
import Hash from '@IOC:Adonis/Core/Hash'
When I run the test suite, it fails with the following error:
_Test suite failed to run
Cannot find module '@IOC:Adonis/Core/Hash' from 'services/user/index.ts'_
I have the following packages installed:
"adonis-jest": "^2.0.1",
"adonis-preset-ts": "^2.1.0",
and I have also configured my jest.config.js with the following:
preset: 'adonis-jest',
Any hints to fix the problem please?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels