-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix various test failures part III
Also fix warnings
- Loading branch information
Showing
41 changed files
with
128 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
setupZoneTestEnv() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
setupZoneTestEnv() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
libs/api/metadata-converter/src/lib/gn4/metadata-url.service.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../../jest.setup' | ||
|
||
setupZoneTestEnv() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
import 'jest-preset-angular/setup-jest' | ||
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone' | ||
import '../../../../jest.setup' | ||
|
||
import { getTestBed } from '@angular/core/testing' | ||
import { | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting, | ||
} from '@angular/platform-browser-dynamic/testing' | ||
|
||
getTestBed().resetTestEnvironment() | ||
getTestBed().initTestEnvironment( | ||
BrowserDynamicTestingModule, | ||
platformBrowserDynamicTesting(), | ||
{ teardown: { destroyAfterEach: false } } | ||
) | ||
setupZoneTestEnv({ teardown: { destroyAfterEach: false } }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.