mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +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'
|
||
|
],
|
||
|
};
|