@nx-plugins/stryker
Version:
The Nx Plugin for Stryker that contains executors and generators for allowing your workspace to use powerful Stryker mutation testing capabilities.
12 lines • 541 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkForMutateTarget = void 0;
const devkit_1 = require("@nrwl/devkit");
function checkForMutateTarget(tree, schema) {
const projectConfig = (0, devkit_1.readProjectConfiguration)(tree, schema.project);
if (projectConfig.targets.mutate) {
throw new Error(`${schema.project}: already has a mutate architect option.`);
}
}
exports.checkForMutateTarget = checkForMutateTarget;
//# sourceMappingURL=check-for-mutate-target.js.map