mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[improvement] enable tsx type checking for functional component (#2764)
This commit is contained in:
@@ -3,7 +3,7 @@ module.exports = {
|
||||
setupFiles: ['<rootDir>/test/jest.init.js'],
|
||||
moduleFileExtensions: ['js', 'vue', 'ts', 'tsx'],
|
||||
transform: {
|
||||
'^.+\\.js$': '<rootDir>/test/jest.transform.js',
|
||||
'^.+\\.(js|ts|tsx)$': '<rootDir>/test/jest.transform.js',
|
||||
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
|
Reference in New Issue
Block a user