Skip to content

Commit 1e168c7

Browse files
committed
fix slow tests from debounce
1 parent 7fee565 commit 1e168c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/monitor/src/__tests__/launchpad-monitor.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ function createTestMonitor(
5858
};
5959
}
6060

61+
vi.mock("../utils/debounce-results.ts", () => ({
62+
debounceResultAsync: (fn: unknown) => fn,
63+
}))
64+
6165
describe("LaunchpadMonitor", () => {
6266
describe("connect", () => {
6367
it("should connect to PM2 and bus", async () => {

0 commit comments

Comments
 (0)