stryker-api
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,3 +0,2 @@ | ||
export { default as StrykerNode } from './src/mutant/StrykerNode'; | ||
export { default as Mutator } from './src/mutant/Mutator'; | ||
export { default as MutatorFactory } from './src/mutant/MutatorFactory'; |
{ | ||
"name": "stryker-api", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "The api for the extendable JavaScript mutation testing framework Stryker", | ||
"scripts": { | ||
"pretest": "typings install", | ||
"test": "grunt test", | ||
@@ -33,2 +32,7 @@ "start": "concurrently \"npm run tsc:w\" \"grunt serve\"", | ||
"devDependencies": { | ||
"@types/chai": "^3.4.32", | ||
"@types/es6-promise": "0.0.31", | ||
"@types/estree": "0.0.32", | ||
"@types/mocha": "^2.2.31", | ||
"@types/node": "^6.0.38", | ||
"chai": "^3.4.1", | ||
@@ -43,11 +47,13 @@ "chai-as-promised": "^5.2.0", | ||
"grunt-mocha-test": "^0.12.7", | ||
"grunt-ts": "^5.5.1", | ||
"grunt-ts": "^6.0.0-beta.3", | ||
"grunt-tslint": "^3.2.1", | ||
"istanbul": "^0.4.0", | ||
"mocha": "^2.3.3", | ||
"mocha-sinon": "^1.1.4", | ||
"load-grunt-tasks": "^3.5.2", | ||
"mocha": "^3.0.2", | ||
"mocha-sinon": "^1.1.6", | ||
"sinon": "^1.17.2", | ||
"sinon-chai": "^2.8.0", | ||
"typescript": "^1.8.9", | ||
"typings": "^1.0.4" | ||
"tslint": "^3.15.1", | ||
"typescript": "^2.0.0" | ||
} | ||
} |
@@ -0,1 +1,2 @@ | ||
import * as estree from 'estree'; | ||
/** | ||
@@ -10,3 +11,3 @@ * Represents a class which can mutate parts of an Abstract Syntax Tree. | ||
/** | ||
* Applies the Mutator to a Node. This can result in on or more mutated Nodes, or null if no mutation was applied. | ||
* Applies the Mutator to a Node. This can result in one or more mutated Nodes, or null if no mutation was applied. | ||
* This method will be called on every node of the abstract syntax tree, | ||
@@ -20,4 +21,4 @@ * implementing mutators should decide themselves if they want to mutate this specific node. | ||
*/ | ||
applyMutations(node: ESTree.Node, copy: (obj: any, deep?: boolean) => any): ESTree.Node[]; | ||
applyMutations(node: estree.Node, copy: <T extends estree.Node>(obj: T, deep?: boolean) => T): void | estree.Node | estree.Node[]; | ||
} | ||
export default Mutator; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="es6-promise" /> | ||
import SourceFile from './SourceFile'; | ||
@@ -2,0 +3,0 @@ import MutantResult from './MutantResult'; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="es6-promise" /> | ||
import RunResult from './RunResult'; | ||
@@ -2,0 +3,0 @@ import RunOptions from './RunOptions'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
105807
1630
24