Last active
April 26, 2022 20:51
-
-
Save mbjelac/c7f04bfeaa86d96a4ce3ed56716a623b to your computer and use it in GitHub Desktop.
multiple-asserts-bad_1
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).toBe(true); | |
expect(result.spamCounter).toBe(0); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment