powerful-gigabyte-69168
05/31/2022, 7:25 PM.equal()
? It's really interesting that if you provide a second (string) argument that has a ',' in it, it seems to log the beginning of the string upon success and the entire string upon failure, which makes for some pretty nice reporting:powerful-gigabyte-69168
05/31/2022, 7:28 PMexpect(
cardListsMatch(
game.players[0].hand,
fixture.p0Hand
)
).to.eq(
true,
`P0 Hand should match fixture,
but actual:
${printCardList(game.players[0].hand)}
did not match ficture:
${printCardList(fixture.p0Hand)}`
);
powerful-gigabyte-69168
05/31/2022, 7:31 PM