Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

feat(stryker-api): add stryker-api 0.15 support #45

Merged
merged 3 commits into from
Apr 6, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@
"react-scripts": "^1.0.17",
"rimraf": "^2.6.2",
"sinon": "^4.0.1",
"stryker": "^0.19.1",
"stryker-api": "^0.13.0",
"stryker-html-reporter": "^0.12.1",
"stryker-mocha-framework": "^0.8.3",
"stryker-mocha-runner": "^0.10.5",
"stryker-typescript": "^0.9.1",
"stryker": "^0.21.0",
"stryker-api": "^0.15.0",
"stryker-html-reporter": "^0.13.0",
"stryker-mocha-framework": "^0.9.0",
"stryker-mocha-runner": "^0.11.0",
"stryker-typescript": "^0.10.0",
"tslib": "^1.8.1",
"tslint": "^5.8.0",
"typescript": "^2.5.0"
},
"peerDependencies": {
"stryker-api": "^0.13.0",
"stryker-api": "0.13 - 0.15",
"jest": "^20.0.0"
},
"dependencies": {
Expand Down
22 changes: 9 additions & 13 deletions stryker.conf.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
module.exports = function(config) {
config.set({
files: [
'!src/**/*.ts',

{ pattern: 'src/**/*.ts', included: false, mutated: true },

// Exclude all .d.ts files
'!**/*.d.ts',

// Exclude interface and index file
'!./src/configLoaders/JestConfiguration.ts',
'!./src/index.ts',

'!./test/integration/**/*'
mutate: [
'src/**/*.ts',
'!src/index.ts'
],
mochaOptions: {
files: [
'test/helpers/**/*.js',
'test/unit/**/*.js'
]
},
testRunner: 'mocha',
testFramework: 'mocha',
mutator: 'typescript',
Expand Down
2 changes: 1 addition & 1 deletion test/integration/StrykerJestRunnerSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('Integration StrykerJestRunner', function () {
jestConfigEditor = new JestConfigEditor();

runOptions = {
files: [],
fileNames: [],
port: 0,
strykerOptions: new Config
};
Expand Down
2 changes: 1 addition & 1 deletion test/unit/JestTestRunnerSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('JestTestRunner', () => {
strykerOptions.set({ jest: { config: { property: 'value' }}});

jestTestRunner = new JestTestRunner({
files: [],
fileNames: [],
port: 0,
strykerOptions
});
Expand Down