diff --git a/src/tests/specs/ink/Sequence.spec.ts b/src/tests/specs/ink/Sequence.spec.ts index ebd49809..ea4f30ad 100644 --- a/src/tests/specs/ink/Sequence.spec.ts +++ b/src/tests/specs/ink/Sequence.spec.ts @@ -47,7 +47,7 @@ describe("Sequences", () => { loadStory("all_sequence_types"); expect(story.ContinueMaximally()).toBe( - "Once: one two\nStopping: one two two two\nDefault: one two two two\nCycle: one two one two\nShuffle: two one one two\nShuffle stopping: one two final final\nShuffle once: two one\n" + "Once: one two\nStopping: one two two two\nDefault: one two two two\nCycle: one two one two\nShuffle: two one two one\nShuffle stopping: two one final final\nShuffle once: two one\n" ); }); }); diff --git a/src/tests/specs/inkjs/Logic.spec.ts b/src/tests/specs/inkjs/Logic.spec.ts index 2310fdc1..76477b56 100644 --- a/src/tests/specs/inkjs/Logic.spec.ts +++ b/src/tests/specs/inkjs/Logic.spec.ts @@ -155,7 +155,7 @@ describe("Logic", () => { it("should generate random numbers", () => { story.ChoosePathString("logic.random"); - expect(story.Continue()).toEqual("15\n"); - expect(story.Continue()).toEqual("-24\n"); + expect(story.Continue()).toEqual("81\n"); + expect(story.Continue()).toEqual("8\n"); }); });