From 58e891464346858a563aa6d382768b996ff21fdf Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Fri, 23 Sep 2022 11:50:51 +0200 Subject: [PATCH] fix mising version pnpm install issue --- packages/idle/test/index.test.ts | 6 +++--- packages/memo/package.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/idle/test/index.test.ts b/packages/idle/test/index.test.ts index 4d8225de4..c443b9002 100644 --- a/packages/idle/test/index.test.ts +++ b/packages/idle/test/index.test.ts @@ -80,8 +80,8 @@ describe("createIdleTimer", () => { const div = document.createElement("div"); const { start, stop } = createIdleTimer({ - promptTimeout: 15, - idleTimeout: 15, + promptTimeout: 30, + idleTimeout: 30, startManually: true, onActive: () => (currStatus = "active"), onIdle: () => (currStatus = "idle"), @@ -106,7 +106,7 @@ describe("createIdleTimer", () => { currStatus, "timers have started, user should be in the prompt phase, onPrompt should have been called by now" ).toBe("prompted"); - await sleep(50); + await sleep(60); expect(currStatus, "prompt timer has expired, onIdle should have been called by now").toBe( "idle" ); diff --git a/packages/memo/package.json b/packages/memo/package.json index 33cab1acd..ce64ce09e 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -58,11 +58,11 @@ "memo" ], "dependencies": { - "@solid-primitives/scheduled": "workspace:1.0.1", - "@solid-primitives/utils": "workspace:^3.0.2" + "@solid-primitives/scheduled": "^1.0.2", + "@solid-primitives/utils": "^3.0.2" }, "devDependencies": { - "@solid-primitives/mouse": "workspace:^2.0.2", + "@solid-primitives/mouse": "^2.0.2", "jsdom": "^20.0.0", "prettier": "^2.7.1", "solid-app-router": "^0.3.3",