File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
frontend/src/operator/webui/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22
33import 'zone.js/testing' ;
4+ import { provideZoneChangeDetection , NgModule } from '@angular/core' ;
45import { getTestBed } from '@angular/core/testing' ;
56import {
67 BrowserDynamicTestingModule ,
78 platformBrowserDynamicTesting ,
89} from '@angular/platform-browser-dynamic/testing' ;
910
11+ @NgModule ( { providers : [ provideZoneChangeDetection ( ) ] } )
12+ export class ZoneChangeDetectionModule { }
13+
1014// First, initialize the Angular testing environment.
1115getTestBed ( ) . initTestEnvironment (
12- BrowserDynamicTestingModule ,
16+ [ ZoneChangeDetectionModule , BrowserDynamicTestingModule ] ,
1317 platformBrowserDynamicTesting ( )
1418) ;
You can’t perform that action at this time.
0 commit comments