Skip to content

Commit

Permalink
fix: exclude apollo-angular from jest transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Dec 7, 2023
1 parent a5df7cb commit 4b9134b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion angular/envs/angular-v13-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';

const packagesToExclude: string[] = ['@angular', '@ngrx'];
const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];

export default {
preset: 'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion angular/envs/angular-v14-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';

const packagesToExclude: string[] = ['@angular', '@ngrx'];
const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];

export default {
preset: 'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion angular/envs/angular-v15-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';

const packagesToExclude: string[] = ['@angular', '@ngrx'];
const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];

export default {
preset: 'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion angular/envs/angular-v16-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packag

const { defaultTransformerOptions } = require('jest-preset-angular/presets');

const packagesToExclude: string[] = ['@angular', '@ngrx'];
const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];

export default {
preset: 'jest-preset-angular',
Expand Down
2 changes: 1 addition & 1 deletion angular/envs/angular-v17-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packag

const { defaultTransformerOptions } = require('jest-preset-angular/presets');

const packagesToExclude: string[] = ['@angular', '@ngrx'];
const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];

export default {
preset: 'jest-preset-angular',
Expand Down

0 comments on commit 4b9134b

Please sign in to comment.