Isometric line figures that answer the pointer. For React and for anything with a DOM.
Copy: the test of a second copy holds the clock still, so a slow machine's own time does not run the Copied time out
Lucas Marques0fd1780ee9ec
diff --git a/apps/site/test/site.spec.ts b/apps/site/test/site.spec.tsindex 985a8a7..e52d032 100644--- a/apps/site/test/site.spec.ts+++ b/apps/site/test/site.spec.ts@@ -248,6 +248,8 @@ test("a second copy keeps Copied up for its own full time, not what was left ofawait context.grantPermissions(["clipboard-read", "clipboard-write"]);await page.clock.install();await page.goto("/");+ // from here time moves only when the test moves it: on a slow machine the real time between steps would add to it+ await page.clock.pauseAt(await page.evaluate(() => Date.now() + 1000));const pill = page.locator("[data-install]").first();const copy = pill.getByRole("button", { name: "Copy install command" });await copy.click();