Skip to content

Commit 564ab7c

Browse files
committed
chore(general): test js resolution
1 parent b195093 commit 564ab7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/library/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default {
99
'^@props$': '<rootDir>/src/types/props.ts',
1010
'^@constants$': '<rootDir>/src/constants.ts',
1111
'^@utils/(.*)$': '<rootDir>/src/utils/$1',
12+
'^(\\.{1,2}/.*)\\.js$': '$1'
1213
},
1314
extensionsToTreatAsEsm: ['.ts', '.tsx'],
1415
transform: {

0 commit comments

Comments
 (0)