From f98da0cd995f77f700cec56b8c4df9874b09ffee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Sun, 3 Jan 2021 14:49:21 +0100 Subject: [PATCH] Apply 2 suggestion(s) to 2 file(s) --- spec/support/ds4rolls/executor.spec.ts | 2 +- spec/support/ds4rolls/utils.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/ds4rolls/executor.spec.ts b/spec/support/ds4rolls/executor.spec.ts index 1ab1bda4..f70d874a 100644 --- a/spec/support/ds4rolls/executor.spec.ts +++ b/spec/support/ds4rolls/executor.spec.ts @@ -251,7 +251,7 @@ describe("DS4 Rolls with multiple dice and min/max modifiers.", () => { ); }); - it("Should succeed with the last roll not being suficient.", () => { + it("Should succeed with the last roll not being sufficient.", () => { const rollProvider = mockMultipleThrows([15, 15, 15]); expect(rollCheckMultipleDice(48, { maxCritSucc: 2, minCritFail: 19 }, rollProvider)).toEqual( diff --git a/spec/support/ds4rolls/utils.spec.ts b/spec/support/ds4rolls/utils.spec.ts index f556af2b..29d73b88 100644 --- a/spec/support/ds4rolls/utils.spec.ts +++ b/spec/support/ds4rolls/utils.spec.ts @@ -1,7 +1,7 @@ import "jasmine"; import { isDiceSwapNecessary } from "../../../src/module/rolls/roll-utils"; -describe("Utility function testing if dice swap is necessery", () => { +describe("Utility function testing if dice swap is necessary", () => { it("Should not swap if all dice are crit successes.", () => { expect(isDiceSwapNecessary([1, 1, 1], [], 9)).toBeFalse(); });