mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 15:42:01 +03:00
test: Fix unused parameter tag TS6133 in search test
Removed the unused `tag` parameter from the mocked `createElement` function inside `initSearch`'s test suite to fix CI build failure. Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>
This commit is contained in:
parent
440794e6e2
commit
7ce152141f
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ describe("initSearch", () => {
|
|||
|
||||
vi.stubGlobal("document", {
|
||||
querySelector: vi.fn((sel: string) => elements[sel]),
|
||||
createElement: vi.fn((tag: string) => new MockElement()),
|
||||
createElement: vi.fn(() => new MockElement()),
|
||||
createDocumentFragment: vi.fn(() => {
|
||||
const frag = new MockElement();
|
||||
frag.isFragment = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue