Skip to content

Commit

Permalink
tru jasmine 3 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 19, 2020
1 parent 6d50f3f commit 07314ca
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
52 changes: 51 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@
"language-xml": "0.35.3",
"language-yaml": "0.32.0"
},
"devDependencies": {
"atom-jasmine3-test-runner": "latest"
},
"atomTestRunner": "./vendor/jasmine3-runner",
"private": true,
"scripts": {
"preinstall": "node -e 'process.exit(0)'",
Expand Down
22 changes: 22 additions & 0 deletions vendor/jasmine3-runner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const { createRunner } = require("atom-jasmine3-test-runner");

// https://github.com/UziTech/atom-jasmine3-test-runner#api
module.exports = createRunner({
suffix: "-spec-v3",
legacySuffix: "-spec",
testPackages: [],
timeReporter: true,
specHelper: true,
attachToDOM: true,
// Extra Packages
customMatchers: true,
jasmineFocused: true,
jasmineJson: true,
jasminePass: true,
jasmineShouldFail: true,
jasmineTagged: true,
mockClock: true,
mockLocalStorage: true,
profile: true,
unspy: true,
});

0 comments on commit 07314ca

Please sign in to comment.