File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
apps/nativescript-demo-ng/src Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11import './polyfills' ;
2+ import '@nativescript/zone-js/dist/pre-zone-polyfills' ;
3+
4+ // Zone JS is required by default for Angular itself
5+ import 'zone.js' ;
6+
7+ // Add NativeScript specific Zone JS patches
8+ import '@nativescript/zone-js' ;
29import 'zone.js/testing' ;
310import { TestBed } from '@angular/core/testing' ;
411import { platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing' ;
512import { NativeScriptTestingModule } from '@nativescript/angular/testing' ;
613
7- TestBed . initTestEnvironment ( NativeScriptTestingModule , platformBrowserDynamicTesting ( ) , { teardown : { destroyAfterEach : true } } ) ;
14+ TestBed . initTestEnvironment ( NativeScriptTestingModule , platformBrowserDynamicTesting ( ) , {
15+ teardown : { destroyAfterEach : true } ,
16+ } ) ;
You can’t perform that action at this time.
0 commit comments