mirror of
https://github.com/zadam/trilium.git
synced 2026-03-13 03:43:43 +01:00
This commit is contained in:
parent
0f5c777a57
commit
69702ef0f3
@ -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