test(studio): type the manual editor DOM fixture
This commit is contained in:
1 parent
ae35ac6714
commit
e0298ac471
1 file changed
+1
-1
@@ -95,7 +95,7 @@ test("manual form saves one atomic revision and rejects locked changes without c
|
|||||||
try {
|
try {
|
||||||
(globalThis as any).document = win.document;
|
(globalThis as any).document = win.document;
|
||||||
(globalThis as any).HTMLInputElement = win.HTMLInputElement;
|
(globalThis as any).HTMLInputElement = win.HTMLInputElement;
|
||||||
(globalThis as any).Option = win.Option;
|
(globalThis as any).Option = (win as any).Option;
|
||||||
win.document.body.innerHTML =
|
win.document.body.innerHTML =
|
||||||
manualHtml + '<select id="preview-mode"><option value="light">light</option></select>';
|
manualHtml + '<select id="preview-mode"><option value="light">light</option></select>';
|
||||||
const session = new StudioSession(CORE_DESIGN_SYSTEMS.soft);
|
const session = new StudioSession(CORE_DESIGN_SYSTEMS.soft);
|
||||||
|
|||||||
Reference in new issue
Block a user