Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Jan 18, 2024
1 parent 90bdd4b commit 00d6101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions angular/envs/angular-v16-env/jest/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';

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

const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];
Expand Down
1 change: 1 addition & 0 deletions angular/examples/my-angular-env/config/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
import { jestConfig } from '@bitdev/angular.angular-env';
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';

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

const packagesToExclude: string[] = ['@angular', '@ngrx', 'apollo-angular'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const jestConfigFile = (angularVersion: number, envPkgName: string) => {
*/
import { jestConfig } from '${envPkgName}';
import { generateNodeModulesPattern } from '@teambit/dependencies.modules.packages-excluder';
${angularVersion >= 16 ? `
const { defaultTransformerOptions } = require('jest-preset-angular/presets');
` : ''}
Expand Down

0 comments on commit 00d6101

Please sign in to comment.