Skip to content

Commit

Permalink
test(e2e): moved css unlink into afterAll
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev committed Jun 13, 2019
1 parent c2ba95f commit 95dfb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/Progress.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ describe('client progress', () => {
});

afterAll((done) => {
fs.unlinkSync(cssFilePath);
testServer.close(done);
});

Expand All @@ -51,7 +52,6 @@ describe('client progress', () => {
});
// eslint-disable-next-line no-undefined
expect(match).not.toEqual(undefined);
fs.unlinkSync(cssFilePath);
browser.close().then(done);
});
});
Expand Down

0 comments on commit 95dfb60

Please sign in to comment.