You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
While running unit test cases getting Nodehun module not found error #113
Cannot find module 'nodehun' from 'spell-check/spell-check-nodehun.service.ts'
1 | import { Injectable } from '@nestjs/common';
> 2 | import { Nodehun } from 'nodehun';
| ^
3 | import { readFile } from '../core-helpers/utils/storage.helper';
4 |
5 | @Injectable()
at Resolver.resolveModule (../node_modules/jest-resolve/build/resolver.js:324:11)
at Object.<anonymous> (spell-check/spell-check-nodehun.service.ts:2:1)
I am not able to run a unit test using Jest, which has Node.js integrated. I am getting a module not found error in Node.js (nestJS). Please provide solutions for it.
Activity