-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #936 from notaphplover/chore/add-libraries-mutatio…
…n-testing Add mutation testing
- Loading branch information
Showing
15 changed files
with
205 additions
and
38 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/backend/libraries/backend-api-validators/stryker.conf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/backend/libraries/backend-graphql/jest.config.stryker.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { getJestTsProjectConfig } from '@cornie-js/backend-jest-config'; | ||
|
||
const tsGlobalConfig = getJestTsProjectConfig( | ||
'All', | ||
['/node_modules', '.int.spec.ts'], | ||
'.spec.ts', | ||
); | ||
|
||
export default tsGlobalConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
packages/backend/libraries/backend-graphql/stryker.conf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"checkers": ["typescript"], | ||
"cleanTempDir": "always", | ||
"coverageAnalysis": "perTest", | ||
"disableTypeChecks": "src/**/*.ts", | ||
"jest": { | ||
"configFile": "./jest.config.stryker.mjs", | ||
"enableFindRelatedTests": true, | ||
"projectType": "custom" | ||
}, | ||
"mutate": [ | ||
"src/**/*.ts", | ||
"!src/**/*.spec.ts", | ||
"!src/**/*{Fixtures,Mocks}.ts" | ||
], | ||
"packageManager": "pnpm", | ||
"plugins": [ | ||
"@stryker-mutator/jest-runner", | ||
"@stryker-mutator/typescript-checker" | ||
], | ||
"tempDirName": "stryker-tmp", | ||
"testRunner": "jest", | ||
"tsconfigFile": "./tsconfig.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/backend/libraries/backend-http/jest.config.stryker.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { getJestTsProjectConfig } from '@cornie-js/backend-jest-config'; | ||
|
||
const tsGlobalConfig = getJestTsProjectConfig( | ||
'All', | ||
['/node_modules', '.int.spec.ts'], | ||
'.spec.ts', | ||
); | ||
|
||
export default tsGlobalConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"checkers": ["typescript"], | ||
"cleanTempDir": "always", | ||
"coverageAnalysis": "perTest", | ||
"disableTypeChecks": "src/**/*.ts", | ||
"jest": { | ||
"configFile": "./jest.config.stryker.mjs", | ||
"enableFindRelatedTests": true, | ||
"projectType": "custom" | ||
}, | ||
"mutate": [ | ||
"src/**/*.ts", | ||
"!src/**/*.spec.ts", | ||
"!src/**/*{Fixtures,Mocks}.ts" | ||
], | ||
"packageManager": "pnpm", | ||
"plugins": [ | ||
"@stryker-mutator/jest-runner", | ||
"@stryker-mutator/typescript-checker" | ||
], | ||
"tempDirName": "stryker-tmp", | ||
"testRunner": "jest", | ||
"tsconfigFile": "./tsconfig.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/backend/libraries/backend-jwt/jest.config.stryker.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { getJestTsProjectConfig } from '@cornie-js/backend-jest-config'; | ||
|
||
const tsGlobalConfig = getJestTsProjectConfig( | ||
'All', | ||
['/node_modules', '.int.spec.ts'], | ||
'.spec.ts', | ||
); | ||
|
||
export default tsGlobalConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"checkers": ["typescript"], | ||
"cleanTempDir": "always", | ||
"coverageAnalysis": "perTest", | ||
"disableTypeChecks": "src/**/*.ts", | ||
"jest": { | ||
"configFile": "./jest.config.stryker.mjs", | ||
"enableFindRelatedTests": true, | ||
"projectType": "custom" | ||
}, | ||
"mutate": [ | ||
"src/**/*.ts", | ||
"!src/**/*.spec.ts", | ||
"!src/**/*{Fixtures,Mocks}.ts" | ||
], | ||
"packageManager": "pnpm", | ||
"plugins": [ | ||
"@stryker-mutator/jest-runner", | ||
"@stryker-mutator/typescript-checker" | ||
], | ||
"tempDirName": "stryker-tmp", | ||
"testRunner": "jest", | ||
"tsconfigFile": "./tsconfig.json" | ||
} |