mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
d20572bdab
* Run snapshot testing against all demos * Split demo tests * ignore coverage folder * Upgrade antd-demo-jest * enable cache * intergate with coveralls.io * Add node test * Set worker to 2 https://github.com/facebook/jest/issues/1742 * config coverage * Set default supportServerRender to true
16 lines
320 B
JSON
16 lines
320 B
JSON
{
|
|
"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/node/.*\\.test\\.js$",
|
|
"testEnvironment": "node"
|
|
}
|