Browse Source

test: update test config

pull/6283/head
Benjy Cui 8 years ago
parent
commit
b8118bb09c
  1. 1
      .gitignore
  2. 8
      package.json

1
.gitignore

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

8
package.json

@ -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"

Loading…
Cancel
Save