Skip to content

Commit

Permalink
delete console spies and mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriechang committed Dec 18, 2024
1 parent f364931 commit f8e454e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/jspsych/tests/citations/citations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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", () => {
Expand Down

0 comments on commit f8e454e

Please sign in to comment.