File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 66 "start" : " ng serve" ,
77 "build" : " ng build" ,
88 "watch" : " ng build --watch --configuration development" ,
9- "test" : " ng test"
9+ "dev" : " ng serve --host 0.0.0.0 --disable-host-check --open" ,
10+ "test" : " ng test" ,
11+ "test-headless" : " ng test --browsers ChromeHeadless" ,
12+ "ci:test-headless" : " ng test --browsers ChromeHeadlessNoSandbox --watch=false"
1013 },
1114 "private" : true ,
1215 "dependencies" : {
Original file line number Diff line number Diff line change 11import { TestBed } from '@angular/core/testing' ;
22import { AppComponent } from './app.component' ;
3+ import { HttpClientTestingModule } from '@angular/common/http/testing' ;
34
45describe ( 'AppComponent' , ( ) => {
56 beforeEach ( async ( ) => {
67 await TestBed . configureTestingModule ( {
7- imports : [ AppComponent ] ,
8+ imports : [ AppComponent , HttpClientTestingModule ] ,
89 } ) . compileComponents ( ) ;
910 } ) ;
1011
You can’t perform that action at this time.
0 commit comments