From f137f223aa5970c4fa62de71fda748ef76b2f24d Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Mon, 4 Dec 2023 16:28:56 +0300 Subject: [PATCH] chore: drop some redundant configs --- projects/angular/src/test-setup.ts | 13 ------------- projects/demo/src/test-setup.ts | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/projects/angular/src/test-setup.ts b/projects/angular/src/test-setup.ts index 7039bf19e..1100b3e8a 100644 --- a/projects/angular/src/test-setup.ts +++ b/projects/angular/src/test-setup.ts @@ -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}}, -); diff --git a/projects/demo/src/test-setup.ts b/projects/demo/src/test-setup.ts index 6ff6420ec..0a6cc0573 100644 --- a/projects/demo/src/test-setup.ts +++ b/projects/demo/src/test-setup.ts @@ -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}}, -);