mirror of
https://github.com/zadam/trilium.git
synced 2026-03-13 03:43:43 +01:00
fix: test file error
This commit is contained in:
parent
e2892e2eaa
commit
ff203b9188
@ -46,7 +46,7 @@ vi.mock("../../services/note_autocomplete", () => ({
|
||||
}));
|
||||
|
||||
vi.mock("../react/react_utils", () => ({
|
||||
refToJQuerySelector: (ref: { current: HTMLInputElement | null }) => $(ref.current)
|
||||
refToJQuerySelector: (ref: { current: HTMLInputElement | null }) => ref.current ? $(ref.current) : $()
|
||||
}));
|
||||
|
||||
vi.mock("../react/hooks", () => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user