Jest implementation to get danger.js to work.

This commit is contained in:
Michael Teeuw
2018-01-25 19:43:09 +01:00
parent 584786eb9f
commit 22e2fdc707
5 changed files with 3495 additions and 8 deletions

View File

@@ -44,6 +44,7 @@
"grunt-stylelint": "latest",
"grunt-yamllint": "latest",
"http-auth": "^3.2.3",
"jest": "^22.1.4",
"jshint": "^2.9.5",
"mocha": "^4.1.0",
"mocha-each": "^1.1.0",
@@ -69,5 +70,12 @@
"socket.io": "^2.0.4",
"valid-url": "latest",
"walk": "latest"
},
"jest": {
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"testPathIgnorePatterns": ["\\.snap$", "<rootDir>/build", "<rootDir>/node_modules/" , "<rootDir>/modules/"],
"cacheDirectory": ".jest/cache"
}
}