mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 11:18:14 +08:00
206a327ade
1. run all same demo test on node as jsom 2. mock date 3. create a setup file for common settings 4. skip breadcrumb router demo test
19 lines
363 B
JSON
19 lines
363 B
JSON
{
|
|
"setupFiles": [
|
|
"tests/setup.js"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"md"
|
|
],
|
|
"transform": {
|
|
"\\.tsx?$": "node_modules/typescript-babel-jest",
|
|
"tests/.*\\.js$": "node_modules/babel-jest",
|
|
"\\.md$": "node_modules/antd-demo-jest"
|
|
},
|
|
"testRegex": "/tests/.*demo\\.test\\.js$",
|
|
"testEnvironment": "node"
|
|
}
|