switch from import assert
s to with
#59
Annotations
2 errors and 1 warning
test/doMovePlayFaceUp.test.js > face value only (attacker):
test/doMovePlayFaceUp.test.js#L335
AssertionError: expected { status: 12, cardPlayed: '?+', …(1) } to deeply equal { status: +0, cardPlayed: '?+', …(1) }
- Expected
+ Received
Object {
"cardPlayed": "?+",
"combat": Object {
"attackerAttackPower": 0,
"attackerBouncesDiscarded": Array [
"?+",
],
"attackerCardsTrapped": Array [],
"attackerStack": Array [
"?+",
],
"attackerStackDiscarded": Array [],
"cardsDrawn": Array [],
"cardsDrawnToDiscard": Array [],
"damageValue": 0,
"defenderAttackPower": 0,
"defenderBouncesDiscarded": Array [],
"defenderCardsTrapped": Array [],
"defenderStack": Array [],
"defenderStackWasFaceUp": false,
},
- "status": 0,
+ "status": 12,
}
❯ test/doMovePlayFaceUp.test.js:335:40
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|