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
Yeah, Jest doesn't support that, and we won't - starting to deal with how bundlers and type checkers do resolution is out of scope for us. You need to use moduleNameMapper. This might be something ts-jest could do automatically, though? Not sure - might be worth an issue over there.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
In one of the ts file (query_ctrl.ts) the module import are like below
///
import { QueryCtrl } from 'app/plugins/sdk';
export class MyQueryCtrl extends QueryCtrl
{ .....
In module.ts
export {
MyQueryCtrl as QueryCtrl
};
While in jest test module.test.ts
import { QueryCtrl } from '../../datasource/module'
● Test suite failed to run
The text was updated successfully, but these errors were encountered: