We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9348b47 commit a88856fCopy full SHA for a88856f
projects/demo/src/app/app.component.spec.ts
@@ -1,5 +1,6 @@
1
import { TestBed, waitForAsync } from '@angular/core/testing';
2
import { HttpClientTestingModule } from '@angular/common/http/testing';
3
+import { API_KEY } from 'ng-google-sheets-db';
4
5
import { AppComponent } from './app.component';
6
@@ -9,6 +10,12 @@ describe('AppComponent', () => {
9
10
TestBed.configureTestingModule({
11
declarations: [AppComponent],
12
imports: [HttpClientTestingModule],
13
+ providers: [
14
+ {
15
+ provide: API_KEY,
16
+ useValue: 'some-fake-test-api-key',
17
+ },
18
+ ],
19
}).compileComponents();
20
})
21
);
0 commit comments