stryker
Version:
The extendable JavaScript mutation testing framework
14 lines • 560 B
TypeScript
import NodeMutator from './NodeMutator';
import { IdentifiedNode } from './IdentifiedNode';
/**
* Represents a mutator which can remove the conditional clause from statements.
*/
export default class RemoveConditionalsMutator implements NodeMutator {
name: string;
private readonly types;
constructor();
applyMutations(node: IdentifiedNode, copy: <T extends IdentifiedNode>(obj: T, deep?: boolean) => T): IdentifiedNode[] | void;
private booleanLiteralNode;
private canMutate;
}
//# sourceMappingURL=RemoveConditionalsMutator.d.ts.map