Skip to content

Commit

Permalink
[Fix] #35 test know import path structure now
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Jan 24, 2024
1 parent 6b898df commit 2363c06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: ['<rootDir>/dist/'],
moduleNameMapper: {
'^@src/(.*)$': '<rootDir>/src/$1',
},
};

0 comments on commit 2363c06

Please sign in to comment.