Last active
April 26, 2022 20:51
-
-
Save mbjelac/8d67d549e45e4ed196e70df4eb121e3e to your computer and use it in GitHub Desktop.
multiple-asserts-bad_2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test("turns on credit check ... and also that other thing", () => { | |
const result = initializeCreditThingy(42, "boo!!!"); | |
expect([ | |
result.creditCheck, | |
result.spamCounter | |
]) | |
.toEqual([true, 0]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment