diff --git a/generators/angular/templates/jest.conf.js.ejs b/generators/angular/templates/jest.conf.js.ejs index 4b876b35e520..ad6f7bbaedab 100644 --- a/generators/angular/templates/jest.conf.js.ejs +++ b/generators/angular/templates/jest.conf.js.ejs @@ -21,13 +21,12 @@ const { pathsToModuleNameMapper } = require('ts-jest'); const { compilerOptions: { paths = {}, baseUrl = './' }, } = require('./tsconfig.json'); -const environment = require('./webpack/environment'); module.exports = { transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$|dayjs/esm<% if (applicationTypeGateway && microfrontend) { %>|@angular-architects/module-federation-runtime<% } %>)'], resolver: 'jest-preset-angular/build/resolvers/ng-jest-resolver.js', globals: { - ...environment, + __VERSION__: 'test', }, roots: ['', `/${baseUrl}`], modulePaths: [`/${baseUrl}`],