Last active
April 3, 2020 17:10
-
-
Save RichardBray/cf9081824ba42c4aecf11ebd17b9413e to your computer and use it in GitHub Desktop.
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
// ... | |
describe("App", () => { | |
const wrapper = mount(<App />); | |
// ... | |
test("Contains a Start and a Finish page", () => { | |
// - when | |
const startComp = wrapper.find("Start"); | |
const finishComp = wrapper.find("Finish"); | |
// - then | |
expect(startComp.exists()).toBeTruthy(); | |
expect(finishComp.exists()).toBeTruthy(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment