UNPKG

@o3r/testing

Version:

The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.

15 lines 703 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateLocalizationImports = updateLocalizationImports; const schematics_1 = require("@o3r/schematics"); const localization_imports_map_1 = require("./localization-imports-map"); /** * update of o3r localization imports mocks */ function updateLocalizationImports() { return (_tree, _context) => { // this will double-check that the imports of mocks related to localization are targeting the sub-entry @o3r/testing/localization return (0, schematics_1.updateImports)(localization_imports_map_1.mapImportLocalizationMocks, undefined, true); }; } //# sourceMappingURL=localization-imports.js.map