From f8e454e4e749ee220a59565e604d2380793494dc Mon Sep 17 00:00:00 2001 From: Cherrie Chang Date: Wed, 18 Dec 2024 17:04:02 -0500 Subject: [PATCH] delete console spies and mocks --- packages/jspsych/tests/citations/citations.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/jspsych/tests/citations/citations.test.ts b/packages/jspsych/tests/citations/citations.test.ts index 31cde42abd..a03e26c63d 100644 --- a/packages/jspsych/tests/citations/citations.test.ts +++ b/packages/jspsych/tests/citations/citations.test.ts @@ -9,9 +9,6 @@ const testPluginApaCitation = "Test plugin APA citation"; const testPluginBibtexCitation = "Test plugin BibTeX citation"; const testExtensionApaCitation = "Test extension APA citation"; -let consoleLogSpy: jest.SpyInstance; -let consoleWarnSpy: jest.SpyInstance; - let JsPsych; /** @@ -27,12 +24,6 @@ try { beforeEach(() => { jspsych = new JsPsych(); - consoleLogSpy = jest.spyOn(console, "log").mockImplementation(); - consoleWarnSpy = jest.spyOn(console, "warn").mockImplementation(); - }); - - afterEach(() => { - jest.restoreAllMocks(); }); describe("citing not using an array", () => {