Skip to content

Commit

Permalink
chore: drop some redundant configs
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Dec 4, 2023
1 parent 29ceb70 commit f137f22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
13 changes: 0 additions & 13 deletions projects/angular/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
import 'jest-preset-angular/setup-jest';

import {getTestBed} from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';

getTestBed().resetTestEnvironment();
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(),
{teardown: {destroyAfterEach: false}},
);
13 changes: 0 additions & 13 deletions projects/demo/src/test-setup.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
import 'jest-preset-angular/setup-jest';
import '@ng-web-apis/universal/mocks';
import '@taiga-ui/testing/setup-jest';

import {getTestBed} from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';

getTestBed().resetTestEnvironment();
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(),
{teardown: {destroyAfterEach: false}},
);

0 comments on commit f137f22

Please sign in to comment.