From 2d1852077929042f37484b2241757c6e8b061043 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Mon, 8 Jul 2024 12:35:30 +0100 Subject: [PATCH] Fix mock test --- src/fs/host-iframe.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/host-iframe.test.ts b/src/fs/host-iframe.test.ts index aea454d1a..aa30a789b 100644 --- a/src/fs/host-iframe.test.ts +++ b/src/fs/host-iframe.test.ts @@ -14,7 +14,7 @@ describe("IframeHost", () => { const fs = { read: () => new TextEncoder().encode("Code read!"), write: mockWrite, - addListener: mockAddListener, + addEventListener: mockAddListener, getPythonProject: () => "", } as any;