Skip to content

Commit

Permalink
feat: remove ngcc-jest-processor entry file (#1414)
Browse files Browse the repository at this point in the history
BREAKING CHANGE
One should use `jest-preset-angular/global-setup` instead
  • Loading branch information
ahnpnl authored Apr 24, 2022
1 parent 66cce97 commit 2c5fd20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
11 changes: 0 additions & 11 deletions ngcc-jest-processor.js

This file was deleted.

10 changes: 1 addition & 9 deletions scripts/test-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {});
Expand Down

0 comments on commit 2c5fd20

Please sign in to comment.