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

This commit is contained in:
Timo Hocker 2020-10-04 18:03:24 +02:00
parent 648d9aac43
commit 0bec27954e
3 changed files with 32 additions and 2 deletions

View File

@ -9,5 +9,6 @@
const drone = require ('./drone');
const jasmine = require ('./jasmine');
const stryker = require ('./stryker');
module.exports = { drone, jasmine };
module.exports = { drone, jasmine, stryker };

29
assets/stryker.js Normal file
View File

@ -0,0 +1,29 @@
/*
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of standard which is released under MIT.
* See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, October 2020
*/
'use strict';
module.exports = `'use strict';
/**
* @type {import('@stryker-mutator/api/core').StrykerOptions}
*/
module.exports = {
mutator: 'javascript',
packageManager: 'yarn',
reporters: [
'clear-text',
'progress'
],
testRunner: 'jasmine',
testFramework: 'jasmine',
jasmineConfigFile: 'jasmine.json',
transpilers: [],
coverageAnalysis: 'perTest',
mutate: [ 'index.js' ]
};
`;

View File

@ -31,4 +31,4 @@
"*.d.ts",
"assets/*.js"
]
}
}