fix(webui): restore session drag and review findings
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { waitFor } from "@testing-library/react";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
|
||||
const render = vi.fn();
|
||||
@@ -37,6 +38,8 @@ describe("main entry crypto shim", () => {
|
||||
expect(globalThis.crypto.randomUUID()).toMatch(
|
||||
/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,
|
||||
);
|
||||
expect(createRoot).toHaveBeenCalledWith(document.getElementById("root"));
|
||||
await waitFor(() => {
|
||||
expect(createRoot).toHaveBeenCalledWith(document.getElementById("root"));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user