mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Adding config file for unit tests
This commit is contained in:
20
package.json
20
package.json
@@ -12,7 +12,7 @@
|
||||
"bugs": "https://github.com/kitematic/kitematic/issues",
|
||||
"scripts": {
|
||||
"start": "gulp",
|
||||
"test": "jest",
|
||||
"test": "jest -c jest-unit.json",
|
||||
"integration": "jest -c jest-integration.json",
|
||||
"release": "gulp release",
|
||||
"release:beta": "gulp release --beta",
|
||||
@@ -25,24 +25,6 @@
|
||||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
}
|
||||
],
|
||||
"jest": {
|
||||
"scriptPreprocessor": "<rootDir>/util/preprocessor.js",
|
||||
"setupEnvScriptFile": "<rootDir>/util/testenv.js",
|
||||
"setupTestFrameworkScriptFile": "<rootDir>/util/prepare.js",
|
||||
"unmockedModulePathPatterns": [
|
||||
"alt",
|
||||
"stream",
|
||||
"tty",
|
||||
"net",
|
||||
"crypto",
|
||||
"babel",
|
||||
"<rootDir>/node_modules/.*JSONStream",
|
||||
"<rootDir>/node_modules/object-assign",
|
||||
"<rootDir>/node_modules/underscore",
|
||||
"<rootDir>/node_modules/bluebird",
|
||||
"<rootDir>/node_modules/source-map-support"
|
||||
]
|
||||
},
|
||||
"docker-version": "1.6.2",
|
||||
"docker-machine-version": "0.2.0",
|
||||
"electron-version": "0.26.0",
|
||||
|
||||
Reference in New Issue
Block a user