From 8665717cfb3d84ac69528c65c0e958f3e761e857 Mon Sep 17 00:00:00 2001 From: cchang-vassar <79338042+cchang-vassar@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:56:38 -0500 Subject: [PATCH] delete adding node at start test --- packages/jspsych/src/timeline/Timeline.spec.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/packages/jspsych/src/timeline/Timeline.spec.ts b/packages/jspsych/src/timeline/Timeline.spec.ts index 73012cb99d..88688c37f5 100644 --- a/packages/jspsych/src/timeline/Timeline.spec.ts +++ b/packages/jspsych/src/timeline/Timeline.spec.ts @@ -75,23 +75,6 @@ describe("Timeline", () => { expect(timeline.children.length).toEqual(2); }); - it("respects dynamically added child node descriptions at the start", async () => { - TestPlugin.setManualFinishTrialMode(); - - const timelineDescription: TimelineArray = [{ type: TestPlugin }]; - const timeline = createTimeline(timelineDescription); - - const runPromise = timeline.run(); - expect(timeline.children.length).toEqual(1); - - timelineDescription.splice(0, 0, { timeline: [{ type: TestPlugin }] }); - await TestPlugin.finishTrial(); - await TestPlugin.finishTrial(); - await runPromise; - - expect(timeline.children.length).toEqual(2); - }); - it("dynamically added child node descriptions before a node after it has been run", async () => { TestPlugin.setManualFinishTrialMode();