@edbzn/nuxt
Version:
<img src="https://github.com/edbzn/nx-nuxt/blob/master/logo.png" alt="@edbzn/nuxt logo" width="500" />
18 lines • 619 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addJest = void 0;
const schematics_1 = require("@angular-devkit/schematics");
function addJest(options) {
return options.unitTestRunner === 'jest'
? schematics_1.chain([
schematics_1.externalSchematic('@nrwl/jest', 'jest-project', {
project: options.projectName,
supportTsx: true,
skipSerializers: true,
setupFile: 'none',
}),
])
: schematics_1.noop();
}
exports.addJest = addJest;
//# sourceMappingURL=add-jest.js.map