Skip to content

Commit

Permalink
Run jest tests alongside other example tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon committed Oct 31, 2016
1 parent 5b32767 commit 5640844
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ghostjs-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,33 @@
"description": "Test examples for the ghostjs test runner.",
"main": "index.js",
"scripts": {
"test": "npm run test:phantom && npm run test:slimerjs",
"test": "npm run test:phantom && npm run test:slimerjs && test:jest",
"test:jest": "jest",
"test:phantom": "ghostjs test/*.js",
"test:slimerjs": "ghostjs --ghost-runner slimerjs-firefox test/*.js"
},
"author": "Kevin Grandon <[email protected]>",
"license": "MPL-2.0",
"dependencies": {
"babel-jest": "^16.0.0",
"babel-preset-es2015": "^6.13.2",
"babel-preset-stage-0": "^6.3.13",
"ghostjs": "file:../ghostjs-core",
"hapi": "^14.1.0",
"inert": "^4.0.1",
"jest-cli": "^16.0.2",
"slimerjs-firefox": "^1.0.5-no-download"
},
"devDependencies": {
"babel-eslint": "^6.1.2",
"standard": "^7.0.1"
},
"jest": {
"testPathDirs": [
"<rootDir>/test/"
],
"testRegex": "\\.js"
},
"standard": {
"parser": "babel-eslint",
"globals": [
Expand Down

0 comments on commit 5640844

Please sign in to comment.