From edb843be03e659f167f993851db5de7a28ce4cad Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Wed, 17 Jul 2024 15:02:12 -0400 Subject: [PATCH] Fix tests --- src/setupTests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/setupTests.js b/src/setupTests.js index 48a80ee9ea..5b85f91d69 100644 --- a/src/setupTests.js +++ b/src/setupTests.js @@ -19,4 +19,5 @@ Object.defineProperty(navigator, "permissions", { jest .spyOn(window.HTMLMediaElement.prototype, "pause") .mockImplementation(() => {}); -jest.mock("components/Pronunciations/Recorder"); +//jest.mock("components/Pronunciations/Recorder"); +jest.mock("components/Pronunciations/RecorderContext", () => ({}));