Apply 2 suggestion(s) to 2 file(s)
This commit is contained in:
parent
aaa10d7469
commit
f98da0cd99
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
const rollProvider = mockMultipleThrows([15, 15, 15]);
|
||||||
|
|
||||||
expect(rollCheckMultipleDice(48, { maxCritSucc: 2, minCritFail: 19 }, rollProvider)).toEqual(
|
expect(rollCheckMultipleDice(48, { maxCritSucc: 2, minCritFail: 19 }, rollProvider)).toEqual(
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import "jasmine";
|
import "jasmine";
|
||||||
import { isDiceSwapNecessary } from "../../../src/module/rolls/roll-utils";
|
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.", () => {
|
it("Should not swap if all dice are crit successes.", () => {
|
||||||
expect(isDiceSwapNecessary([1, 1, 1], [], 9)).toBeFalse();
|
expect(isDiceSwapNecessary([1, 1, 1], [], 9)).toBeFalse();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue