Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
destroy fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
RusAlex committed Jul 17, 2016
1 parent 5927c27 commit 940bde5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/pages/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ describe('Auth page', () => {
triggers = new ActionsTrigger(client, store.dispatch);
});

after(async () => {
await user.destroy();
});

it('Login component should work', async (done) => {
const testComponent = <Login onLoginUser={triggers.login} />;
const wrapper = mount(testComponent);
Expand Down

0 comments on commit 940bde5

Please sign in to comment.