Skip to content

Commit

Permalink
Setup jasmine config and include new task to execute test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHarding committed Jun 14, 2020
1 parent 25eaa10 commit 7e8d9e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions jasmine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"spec_dir": "src",
"spec_files": [
"**/*.spec.js"
],
"helpers": [
"helpers/**/*.js"
],
"stopSpecOnExpectationFailure": false,
"random": true
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
"wdio-chromedriver-service": "^6.0.3"
},
"scripts": {
"test": "cross-env node_modules/.bin/wdio wdio.conf.js"
"test": "npm run wdio",
"jasmine": "jasmine --config=jasmine.json",
"wdio": "cross-env node_modules/.bin/wdio wdio.conf.js"
},
"dependencies": {},
"keywords": [
Expand Down

0 comments on commit 7e8d9e5

Please sign in to comment.