Lint + Fix #43
Annotations
2 errors
@randsum/tower/__tests__/argumentToRollParameters.test.ts#L526
{
argument: "10d20 H2 L V{1=2,>2=6} D{<2,>5,2,4} C{<2,>18} R{5,2}3 U{5} R{<6} ! +2 -5 +3",
config: {
modifiers: {
add: 5,
cap: {
greaterThan: 18,
lessThan: 2,
},
drop: {
exact: [
2,
4
],
greaterThan: 5,
highest: 2,
lessThan: 2,
lowest: 1,
},
explode: true,
replace: [
{
from: 1,
to: 2,
},
{
from: {
greaterThan: 2,
},
to: 6,
}
],
reroll: {
exact: [
5,
2
],
lessThan: 6,
+ maxReroll: 0,
- maxReroll: 3,
},
subtract: 5,
unique: {
notUnique: [
5
],
},
},
quantity: 10,
sides: 20,
},
description: [
"Roll 10 20-sided dice",
"No Rolls greater than [18]",
"No Rolls less than [2]",
"Drop highest 2",
"Drop lowest",
"Drop [2] and [4]",
"Drop greater than [5]",
"Drop less than [2]",
"Replace [1] with [2]",
"Replace greater than [2] with [6]",
+ "Reroll [5] and [2], less than [6]",
- "Reroll [5] and [2], less than [6] (up to 3 times)",
"Exploding Dice",
"No Duplicates (except [5])",
"Add 5",
"Subtract 5"
],
die: D {
sides: 20,
},
+ notation: "10d20C{>18,<2}H2LD{>5,<2,2,4}V{1=2,>2=6}R{5,2,<6}!U{5}+5-5",
- notation: "10d20C{>18,<2}H2LD{>5,<2,2,4}V{1=2,>2=6}R{5,2,<6}3!U{5}+5-5",
}
- Expected - 3
+ Received + 3
at /home/runner/work/randsum/randsum/@randsum/tower/__tests__/argumentToRollParameters.test.ts:526:26
|
|
The logs for this run have expired and are no longer available.
Loading