-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ts2.0): Migrate to typescript 2.0 (#154)
* feat(ts-2): Upgrade to typescript 2 * Using @types dev dependencies * Update estree node structure in mutator module * Remove dependency on typings * Fix(mutators) Use new ESTree API * feat(mutants): Make use of ts2 type narrowing * Make use of ts2 type narrowing * Rename module 'stryker-api/estree' back to 'estree' * feat(ts2.0): Update mutators * Update mutators by injecting the new signature of the copy function. This allows us to remove most of the type castings. * refactor(Mutators) Use new estree API * fix(lint): Fix linting issues Mostely: * Semicolon * Whitespaces * double quotes <> single quotes * fix(deps): Stryker-api v0.3.0-0 * Removed unused other stryker dependencies * fix(RemoveConditionalsMutator): Use correct nodeID * Use the nodeID of the test expression wrather than the if-expression itself. * Add Ternary operator `true` mutation * fix(stryker-api): Make stryker backward compatible * Make stryker backward compatible with stryker-api@0.2.0 by removing the import of the new `'stryker-api/estree'`
- Loading branch information
Showing
59 changed files
with
561 additions
and
862 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
{ | ||
"critics": { | ||
"lint": { "engine": "tslint" } | ||
} | ||
} | ||
"lint": { "engine": "tslint" }, | ||
"wc": { "limit": 3000 } | ||
}, | ||
"test": [ | ||
"test/**", | ||
"testResources/**" | ||
] | ||
} |
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 was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.