UNPKG

stryker-api

Version:

The api for the extendable JavaScript mutation testing framework Stryker

43 lines 1.22 kB
declare enum MutantStatus { /** * The status of a survived mutant, because it was not covered by any test. */ NoCoverage = 0, /** * The status of a killed mutant. */ Killed = 1, /** * The status of a survived mutant. */ Survived = 2, /** * The status of a timed out mutant. */ TimedOut = 3, /** * The status of a mutant of which the tests resulted in a runtime error. * * For example: the following piece of javascript code will result in a runtime error: * * ```javascript * const fs = require('f' - 's'); // mutated code * ``` * * Mutants that result in a runtime error are not taken into account during score calculation. */ RuntimeError = 4, /** * The status of a mutant which could not be transpiled. * For example: the following piece of typescript code will give a TranspileError: * * ```typescript * const a: 5 = 0; // mutated code * ``` * * Mutants that result in a TranspileError are not taken into account during score calculation. */ TranspileError = 5 } export default MutantStatus; //# sourceMappingURL=MutantStatus.d.ts.map