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 560c379 commit 3941de8Copy full SHA for 3941de8
extensions/ql-vscode/src/view/jest.setup.ts
@@ -28,6 +28,9 @@ window.ElementInternals.prototype.setFormValue = jest
28
window.ElementInternals.prototype.setValidity = jest
29
.fn()
30
.mockReturnValue(undefined);
31
+window.HTMLSlotElement.prototype.assignedElements = jest
32
+ .fn()
33
+ .mockReturnValue([]);
34
35
// Store this on the window so we can mock it
36
window.vsCodeApi = {
0 commit comments