Created
April 19, 2019 22:42
-
-
Save kunokdev/6109c1c32d1c063e239f7cff68179f35 to your computer and use it in GitHub Desktop.
test example
This file contains 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
const window = global; | |
window._env_ = { | |
API_URL: "https://github.com" | |
}; | |
it("renders without crashing", () => { | |
const div = document.createElement("div"); | |
ReactDOM.render(<App />, div); | |
ReactDOM.unmountComponentAtNode(div); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment