Skip to content

Instantly share code, notes, and snippets.

@ManuelDeLeon
Last active November 5, 2020 16:28
Show Gist options
  • Save ManuelDeLeon/e2f40bd17688dfaeadaef4ccc7cbc02d to your computer and use it in GitHub Desktop.
Save ManuelDeLeon/e2f40bd17688dfaeadaef4ccc7cbc02d to your computer and use it in GitHub Desktop.
describe("Renders correctly", () => {
beforeEach(() => {
// Update the UI
});
// Check state of the UI?
describe("Type 2 and 3 in the input boxes", () => {
beforeEach(() => {
// Set the input boxes to 2 and 3
});
// Check something?
describe("Click the add button", () => {
beforeEach(() => {
// Click the button
});
it("the label shows sum 5", () => {
// Check the value of the label
})
})
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment