mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +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'
|
|
],
|
|
};
|