Skip to content

Commit b70f151

Browse files
committed
test(e2e): moved css unlink into afterAll
1 parent f4bc6b7 commit b70f151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/Progress.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('client progress', () => {
3232
});
3333

3434
afterAll((done) => {
35+
fs.unlinkSync(cssFilePath);
3536
testServer.close(done);
3637
});
3738

@@ -51,7 +52,6 @@ describe('client progress', () => {
5152
});
5253
// eslint-disable-next-line no-undefined
5354
expect(match).not.toEqual(undefined);
54-
fs.unlinkSync(cssFilePath);
5555
browser.close().then(done);
5656
});
5757
});

0 commit comments

Comments
 (0)