mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
feat: improves search by showing all matches within threshold and enable scrolling instead (#3029)
This commit is contained in:
@@ -57,9 +57,9 @@ describe("<FuzzySearchModal />", () => {
|
||||
vi.mocked(useRouter().push).mockReset();
|
||||
});
|
||||
|
||||
test("shows running all", async () => {
|
||||
test("shows none initially", async () => {
|
||||
const wrapper = createFuzzySearchModal();
|
||||
expect(wrapper.findAll("li").length).toBe(3);
|
||||
expect(wrapper.findAll("li").length).toBe(0);
|
||||
});
|
||||
|
||||
test("search for foo", async () => {
|
||||
|
||||
Reference in New Issue
Block a user