test: update test config

This commit is contained in:
Benjy Cui 2017-05-27 11:13:52 +08:00
parent 81d609c41a
commit b8118bb09c
2 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ _site
_data
dist
/lib
/es
elasticsearch-*
config/base.yaml
/.vscode/

View File

@ -198,8 +198,8 @@
"/_site/"
],
"testPathIgnorePatterns": [
"dekko",
"/node_modules/",
"dekko",
"node"
],
"transform": {
@ -210,11 +210,13 @@
"testRegex": ".*\\.test\\.js$",
"collectCoverageFrom": [
"components/**/*.{ts,tsx}",
"!components/*/style/index.tsx"
"!components/*/style/index.tsx",
"!components/style/index.tsx",
"!components/*/locale/index.tsx"
],
"transformIgnorePatterns": [
"/node_modules/",
"/dist/antd.js"
"/dist/"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"