diff --git a/ngcc-jest-processor.js b/ngcc-jest-processor.js deleted file mode 100644 index 2e76717624..0000000000 --- a/ngcc-jest-processor.js +++ /dev/null @@ -1,11 +0,0 @@ -console.warn( - 'ngcc-jest-processor is deprecated and will be removed in the next major version v12.' + - ' Please use jest-preset-angular/global-setup in Jest config instead, e.g. \n' + - ` - module.exports = { - globalSetup: 'jest-preset-angular/global-setup', - }; - ` -); - -module.exports = require('./build/utils/ngcc-jest-processor'); diff --git a/scripts/test-examples.js b/scripts/test-examples.js index 9ed4adf290..bbfe11c70e 100755 --- a/scripts/test-examples.js +++ b/scripts/test-examples.js @@ -35,15 +35,7 @@ const executeTest = (projectPath) => { logger.log('installing bundled version of jest-preset-angular'); logger.log(); - [ - 'build', - 'presets', - 'global-setup.js', - 'jest-preset.js', - 'ngcc-jest-processor.js', - 'package.json', - 'setup-jest.js', - ].forEach((asset) => { + ['build', 'presets', 'global-setup.js', 'jest-preset.js', 'package.json', 'setup-jest.js'].forEach((asset) => { const assetToReplace = join(projectPath, 'node_modules', 'jest-preset-angular', asset); const assetToCopy = join(rootDir, asset); copySync(assetToCopy, assetToReplace, {});