diff --git a/test/monitor/match.test.js b/test/monitor/match.test.js index 8a00988..3fd7002 100644 --- a/test/monitor/match.test.js +++ b/test/monitor/match.test.js @@ -363,7 +363,7 @@ describe('validating files that cause restart', function() { describe('match rule parser', function() { const pwd = process.cwd(); - after(() => { + afterEach(() => { process.chdir(pwd); });