mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
22 lines
428 B
JavaScript
22 lines
428 B
JavaScript
|
module.exports = {
|
||
|
setupFiles: [
|
||
|
'./tests/setup.js',
|
||
|
],
|
||
|
moduleFileExtensions: [
|
||
|
'ts',
|
||
|
'tsx',
|
||
|
'js',
|
||
|
'md',
|
||
|
],
|
||
|
transform: {
|
||
|
'\\.tsx?$': './node_modules/typescript-babel-jest',
|
||
|
'\\.js$': './node_modules/babel-jest',
|
||
|
'\\.md$': './node_modules/antd-demo-jest',
|
||
|
},
|
||
|
testRegex: 'demo\\.test\\.js$',
|
||
|
testEnvironment: 'node',
|
||
|
snapshotSerializers: [
|
||
|
'enzyme-to-json/serializer'
|
||
|
],
|
||
|
};
|