Skip to content

Instantly share code, notes, and snippets.

@takethefake
Last active October 21, 2018 10:59
Show Gist options
  • Save takethefake/4454ab5627f518a2a288f9798b81ce8e to your computer and use it in GitHub Desktop.
Save takethefake/4454ab5627f518a2a288f9798b81ce8e to your computer and use it in GitHub Desktop.
Medium: Abstract test structure in Jest
// 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