Skip to content

Commit

Permalink
update jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaterre committed Apr 9, 2024
1 parent 26991aa commit 533bfef
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 @@ -9,6 +9,9 @@ module.exports = {
customExportConditions: ["node", "node-addons"],
},
moduleFileExtensions: ['js', 'json', 'ts', 'vue'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
transform: {
'^.+\\.vue$': '@vue/vue3-jest',
'^.+\\.js$': 'babel-jest'
Expand Down

0 comments on commit 533bfef

Please sign in to comment.