fix stryker config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2020-10-04 12:33:12 +02:00
parent b54068954c
commit d05eaec7c7
4 changed files with 28 additions and 7 deletions

View File

@ -2,10 +2,12 @@
{ {
"spec_dir": "test", "spec_dir": "test",
"spec_files": [ "spec_files": [
"spec/*.js" "spec/*.js",
"spec/*.ts"
], ],
"helpers": [ "helpers": [
"helpers/*.js" "helpers/*.js",
"helpers/*.ts"
], ],
"stopSpecOnExpectationFailure": false, "stopSpecOnExpectationFailure": false,
"random": false "random": false

View File

@ -18,8 +18,8 @@
"@stryker-mutator/core": "^3.2.3", "@stryker-mutator/core": "^3.2.3",
"@stryker-mutator/javascript-mutator": "^3.2.3", "@stryker-mutator/javascript-mutator": "^3.2.3",
"@types/jasmine": "^3.5.14", "@types/jasmine": "^3.5.14",
"jasmine": "^3.6.1",
"eslint": "^7.0.0", "eslint": "^7.0.0",
"jasmine": "^3.6.1",
"nyc": "^15.0.1" "nyc": "^15.0.1"
}, },
"scripts": { "scripts": {
@ -31,6 +31,8 @@
"dependencies": { "dependencies": {
"@sapphirecode/consts": "^1.1.18", "@sapphirecode/consts": "^1.1.18",
"@sapphirecode/crypto-helper": "^1.1.44", "@sapphirecode/crypto-helper": "^1.1.44",
"@stryker-mutator/jasmine-framework": "^3.3.1",
"@stryker-mutator/jasmine-runner": "^3.3.1",
"node-fetch": "^2.6.0" "node-fetch": "^2.6.0"
}, },
"files": [ "files": [

View File

@ -17,7 +17,9 @@ module.exports = {
'clear-text', 'clear-text',
'progress' 'progress'
], ],
testRunner: 'command', testRunner: 'jasmine',
testFramework: 'jasmine',
jasmineConfigFile: 'jasmine.json',
transpilers: [], transpilers: [],
coverageAnalysis: 'all', coverageAnalysis: 'all',
mutate: [ 'index.js' ] mutate: [ 'index.js' ]

View File

@ -316,6 +316,21 @@
typed-inject "~2.2.1" typed-inject "~2.2.1"
typed-rest-client "~1.7.1" typed-rest-client "~1.7.1"
"@stryker-mutator/jasmine-framework@^3.3.1":
version "3.3.1"
resolved "https://registry.yarnpkg.com/@stryker-mutator/jasmine-framework/-/jasmine-framework-3.3.1.tgz#83d7c0aee6e9a6ac84d7715fad03c13012768027"
integrity sha512-6fwZj6PVHeoXt5HUC/vkBv2MOKuAjdBgzLAplykkMwqCcWCWXXkfQtL3hYbBecUWcajNg4tNQCQY48FEf0W0hg==
dependencies:
"@stryker-mutator/api" "^3.3.1"
"@stryker-mutator/jasmine-runner@^3.3.1":
version "3.3.1"
resolved "https://registry.yarnpkg.com/@stryker-mutator/jasmine-runner/-/jasmine-runner-3.3.1.tgz#365e1d92fa2bfe39c74e6eff89f6244ce480d8c7"
integrity sha512-lMsSW/Mfa9z5qhnZpD7WqXWeZGfD2qls5MSrJUWhQ+xItEI88CoP0auGC/zb2KiMpr9NqBGOwQhvC8HoCTij7g==
dependencies:
"@stryker-mutator/api" "^3.3.1"
"@stryker-mutator/util" "^3.3.1"
"@stryker-mutator/javascript-mutator@^3.2.3": "@stryker-mutator/javascript-mutator@^3.2.3":
version "3.3.1" version "3.3.1"
resolved "https://registry.yarnpkg.com/@stryker-mutator/javascript-mutator/-/javascript-mutator-3.3.1.tgz#db22a0802bd0ff6f192d15bcf92d6c1d65b0db15" resolved "https://registry.yarnpkg.com/@stryker-mutator/javascript-mutator/-/javascript-mutator-3.3.1.tgz#db22a0802bd0ff6f192d15bcf92d6c1d65b0db15"