Update README.md #82
Annotations
5 errors and 1 warning
test/doCombat.test.js > bounce (defender):
test/doCombat.test.js#L141
AssertionError: expected { status: 1, …(13) } to deeply equal { status: 1, …(13) }
- Expected
+ Received
Object {
- "attackerAttackPower": 3,
+ "attackerAttackPower": 0,
"attackerBouncesDiscarded": Array [],
"attackerCardsTrapped": Array [],
"attackerStack": Array [
"8!",
],
"attackerStackDiscarded": Array [
"8!",
],
"cardsDrawn": Array [],
"cardsDrawnToDiscard": Array [],
"damageValue": 0,
"defenderAttackPower": 0,
"defenderBouncesDiscarded": Array [
"?!",
],
"defenderCardsTrapped": Array [],
"defenderStack": Array [
"?!",
],
"defenderStackWasFaceUp": false,
"status": 1,
}
❯ test/doCombat.test.js:141:29
|
test/doCombat.test.js > bounce (attacker):
test/doCombat.test.js#L421
AssertionError: expected { status: 1, …(13) } to deeply equal { status: 1, …(13) }
- Expected
+ Received
Object {
"attackerAttackPower": 0,
"attackerBouncesDiscarded": Array [
"?!",
],
"attackerCardsTrapped": Array [],
"attackerStack": Array [
"?!",
],
"attackerStackDiscarded": Array [],
"cardsDrawn": Array [],
"cardsDrawnToDiscard": Array [],
"damageValue": 0,
- "defenderAttackPower": 2,
+ "defenderAttackPower": 0,
"defenderBouncesDiscarded": Array [],
"defenderCardsTrapped": Array [],
"defenderStack": Array [
"4!",
],
"defenderStackWasFaceUp": false,
"status": 1,
}
❯ test/doCombat.test.js:421:29
|
test/doMove.test.js > works:
test/doMove.test.js#L397
AssertionError: expected { status: 1, binlog: [ …(7) ] } to deeply equal { status: 1, binlog: [ …(7) ] }
- Expected
+ Received
Object {
"binlog": Array [
"`V001` `n------`",
"a0 c0",
"`n--` c0 / @% / ?+ 4% @# 3+",
"`n--` a@ / 3+ xa",
"`n--` d@ / @% x0",
"`n--` d? / ?+ xa",
- "`n--` 0 2 - / x0",
+ "`n--` 0 0 0 / xa",
],
"status": 1,
}
❯ test/doMove.test.js:397:40
|
test/doMovePlayFaceUp.test.js > bounce:
test/doMovePlayFaceUp.test.js#L569
AssertionError: expected { status: 1, cardPlayed: '?+', …(1) } to deeply equal { status: 1, 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": 2,
+ "defenderAttackPower": 0,
"defenderBouncesDiscarded": Array [],
"defenderCardsTrapped": Array [],
"defenderStack": Array [
"4%",
],
"defenderStackWasFaceUp": false,
},
"status": 1,
}
❯ test/doMovePlayFaceUp.test.js:569:15
|
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
|