fix: test file error
Some checks are pending
Checks / main (push) Waiting to run

This commit is contained in:
Jin 2026-03-10 01:13:10 +00:00
parent 0f5c777a57
commit 69702ef0f3

View File

@ -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", () => ({