Tests: fix config reset browser coverage after rebase

This commit is contained in:
Val Alexander
2026-04-21 20:32:32 -05:00
parent 49fa565ba6
commit 1a3cb66fcb

View File

@@ -132,7 +132,8 @@ describe("config view", () => {
raw: "{\n}\n",
originalRaw: "{\n}\n",
});
let { clearButton, saveButton, applyButton } = findActionButtons(container);
let clearButton: HTMLButtonElement | undefined;
({ clearButton, saveButton, applyButton } = findActionButtons(container));
expect(clearButton).not.toBeUndefined();
expect(saveButton).not.toBeUndefined();
expect(applyButton).not.toBeUndefined();