From df4057bd52af89c72bdfcf786ba07f36b939625e Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Thu, 7 Jan 2021 16:15:13 -0500 Subject: [PATCH] remove outdated test --- tests/jsPsych/timelines.test.js | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tests/jsPsych/timelines.test.js b/tests/jsPsych/timelines.test.js index 92bddb57..be099a1f 100644 --- a/tests/jsPsych/timelines.test.js +++ b/tests/jsPsych/timelines.test.js @@ -468,31 +468,5 @@ describe('add node to end of timeline', function(){ utils.pressKey(32); }); - test('adds node to end of timeline, with callback', function() { - var t = { - type: 'html-keyboard-response', - stimulus: 'foo', - on_finish: function(){ - jsPsych.pauseExperiment(); - jsPsych.addNodeToEndOfTimeline({ - timeline: [{ - type: 'html-keyboard-response', - stimulus: 'bar' - }] - }, jsPsych.resumeExperiment) - } - }; - - jsPsych.init({ - timeline: [t] - }); - - expect(jsPsych.getDisplayElement().innerHTML).toMatch('foo'); - utils.pressKey(32); - expect(jsPsych.getDisplayElement().innerHTML).toMatch('bar'); - utils.pressKey(32); - - }); - });