Skip to content
Permalink
Browse files
Simplify jasmine configuration (#816)
- use one shared jasmine.json for all tests
- remove key with default values from jasmine.json
- use default location spec/support/jasmine.json for configuration
  • Loading branch information
raphinesse committed Nov 2, 2019
1 parent ff43a8a commit bcfe83ec4a75277e6e8530fbbc56e8aba9cb59c0
Showing 3 changed files with 2 additions and 19 deletions.

This file was deleted.

@@ -53,10 +53,10 @@
"scripts": {
"test": "npm run eslint && npm run unit-tests && npm run e2e-tests",
"eslint": "eslint .",
"unit-tests": "jasmine JASMINE_CONFIG_PATH=spec/jasmine.json",
"unit-tests": "jasmine \"spec/**/*.spec.js\"",
"cover": "nyc -x spec/ -x integration-tests/ npm test",
"report-coverage": "nyc report -r text-lcov > coverage.lcov && codecov",
"e2e-tests": "jasmine JASMINE_CONFIG_PATH=integration-tests/jasmine.json"
"e2e-tests": "jasmine \"integration-tests/**/*.spec.js\""
},
"contributors": [
{
@@ -1,12 +1,8 @@
{
"spec_dir": "spec",
"spec_files": [
"**/*[sS]pec.js"
],
"helpers": [
"helpers.js",
"helper.js"
],
"stopSpecOnExpectationFailure": false,
"random": false
}

0 comments on commit bcfe83e

Please sign in to comment.