Skip to content

Commit

Permalink
test: add behaviors module name
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed Apr 29, 2024
1 parent d76198e commit 4e6a89b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
moduleFileExtensions: ['js', 'ts'],
moduleNameMapper: {
'^tdesign-miniprogram/(.*)': '<rootDir>/src/$1',
'^@behaviors/(.*)': '<rootDir>/example/behaviors/$1',
},
testMatch: ['<rootDir>/src/**/__test__/**/*.test.{js,ts}'],
collectCoverageFrom: ['<rootDir>/src/**/*.{js,ts}', '!**/__test__/**', '!**/_example/**'],
Expand Down

0 comments on commit 4e6a89b

Please sign in to comment.