mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
delete console spies and mocks
This commit is contained in:
parent
f3649319cc
commit
f8e454e4e7
@ -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", () => {
|
||||
|
Loading…
Reference in New Issue
Block a user