mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
test(desktop): settings search leaves out the hidden mod entry
This commit is contained in:
1 parent
b3555c6c81
commit
3641f204de
1 file changed
+1
-1
@@ -71,7 +71,7 @@ it("finds extension blocks by the displayed section name without mounting them",
|
||||
const reads = [...calls];
|
||||
await userEvent.type(find(), "Extension");
|
||||
const hits = screen.getAllByRole<HTMLButtonElement>("option");
|
||||
expect(hits.map((hit) => hit.dataset.target)).toEqual(SETTINGS.filter((entry) => entry.section === "ext").map((entry) => entry.anchor));
|
||||
expect(hits.map((hit) => hit.dataset.target)).toEqual(SETTINGS.filter((entry) => entry.section === "ext" && !entry.hidden).map((entry) => entry.anchor));
|
||||
expect(hits.every((hit) => hit.querySelector(".where")?.textContent === "Extension")).toBe(true);
|
||||
expect(calls).toEqual(reads);
|
||||
expect(block("plugins")).toBeNull();
|
||||
|
||||
Reference in new issue
Block a user