Skip to content

Commit

Permalink
Another test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto committed Jul 27, 2017
1 parent ac7d127 commit f5850c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/client/components/map/openlayers/__tests__/Map-test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ describe('OpenlayersMap', () => {
setTimeout(done);
});

afterEach((done) => {
afterEach(() => {
ReactDOM.unmountComponentAtNode(document.getElementById("map"));
document.body.innerHTML = '';
setTimeout(done);
});

it('creates a div for openlayers map with given id', () => {
Expand Down

0 comments on commit f5850c5

Please sign in to comment.