From b70f151e3add3289752720d34e7dab6e8c12abaf Mon Sep 17 00:00:00 2001 From: Kirill Nagaitsev Date: Tue, 11 Jun 2019 16:50:45 -0500 Subject: [PATCH] test(e2e): moved css unlink into afterAll --- test/e2e/Progress.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/Progress.test.js b/test/e2e/Progress.test.js index 01028685e5..a454f8633a 100644 --- a/test/e2e/Progress.test.js +++ b/test/e2e/Progress.test.js @@ -32,6 +32,7 @@ describe('client progress', () => { }); afterAll((done) => { + fs.unlinkSync(cssFilePath); testServer.close(done); }); @@ -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); }); });