Use correct document when creating elements
This commit is contained in:
@@ -355,6 +355,9 @@ export class MockCoreBrowserService implements ICoreBrowserService {
|
||||
public get window(): Window & typeof globalThis {
|
||||
throw Error('Window object not available in tests');
|
||||
}
|
||||
public get mainDocument(): Document {
|
||||
throw Error('Document object not available in tests');
|
||||
}
|
||||
public dpr: number = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user