parent
863aff1a77
commit
44f637a88b
|
@ -39,7 +39,7 @@ describe('ElementsLoader', () => {
|
||||||
|
|
||||||
// ElementsLoader uses the window's customElements API. Provide a fake for this test.
|
// ElementsLoader uses the window's customElements API. Provide a fake for this test.
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
fakeCustomElements = jasmine.createSpyObj('customElements', ['define']);
|
fakeCustomElements = jasmine.createSpyObj('customElements', ['define', 'whenDefined']);
|
||||||
window.customElements = fakeCustomElements;
|
window.customElements = fakeCustomElements;
|
||||||
});
|
});
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|
Loading…
Reference in New Issue