mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +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"
|
|
}
|