Add e2e tests
This commit is contained in:
10
package.json
10
package.json
@@ -4,7 +4,7 @@
|
||||
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
|
||||
"scripts": {
|
||||
"build": "PATH=$PATH:./node_modules/.bin cake dist",
|
||||
"test": "./node_modules/coffee-script/bin/cake dist"
|
||||
"test": "./node_modules/coffee-script/bin/cake dist; ./node_modules/mocha/bin/mocha src/test/e2e/index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -24,8 +24,12 @@
|
||||
"less": "~1.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "3.x",
|
||||
"chai": "^1.10.0",
|
||||
"cors": "2.1.1",
|
||||
"docco": "0.4.x",
|
||||
"cors": "2.1.1"
|
||||
"express": "3.x",
|
||||
"http-server": "^0.7.4",
|
||||
"mocha": "^2.1.0",
|
||||
"selenium-webdriver": "^2.44.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user