diff --git a/spec/rolls/check-evaluation.spec.ts b/spec/rolls/check-evaluation.spec.ts index 5c2796c3..539a89fd 100644 --- a/spec/rolls/check-evaluation.spec.ts +++ b/spec/rolls/check-evaluation.spec.ts @@ -3,19 +3,19 @@ import { assignSubChecksToDice } from "../../src/module/rolls/check-evaluation"; Object.defineProperty(globalThis, "game", { value: { i18n: { localize: (key: string) => key } } }); describe("assignSubChecksToDice with no dice", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([], 10)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); }); describe("assignSubChecksToDice with more dice than required by the checkTargetNumber", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([10, 10], 10)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); }); describe("assignSubChecksToDice with less dice than required by the checkTargetNumber", () => { - it("should throw an error", () => { + it("should throw an error.", () => { expect(() => assignSubChecksToDice([10], 21)).toThrow("DS4.ErrorInvalidNumberOfDice"); }); });