Last active
October 21, 2018 10:59
-
-
Save takethefake/4454ab5627f518a2a288f9798b81ce8e to your computer and use it in GitHub Desktop.
Medium: Abstract test structure in Jest
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
// posible test | |
describe("what is the unit under test?", () => { | |
it("define a test scenario that should be tested", () => { | |
//write your test here | |
}); | |
it("define an other test scenario that should be tested", () => { | |
//write your test here | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment