Skip to content

Commit

Permalink
✨ use the resolver in its own tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorLuizC committed Mar 22, 2021
1 parent 2db1775 commit a2cc8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/
const options = {
preset: 'ts-jest',
resolver: '.',
};

module.exports = options;
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import resolverForTSJest, { Path, ResolverOptions } from './index';
import resolverForTSJest, { Path, ResolverOptions } from './index.js';
import defaultResolver from 'jest-resolve/build/defaultResolver';

jest.mock('jest-resolve/build/defaultResolver');
Expand Down

0 comments on commit a2cc8f6

Please sign in to comment.