Skip to content

Commit

Permalink
Fix one more rimraf issue
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Feb 23, 2024
1 parent 17a07e8 commit 6462480
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,8 @@ describe("Download Jobs - System tests - Encoded", () => {
SYSAFF = testEnvironment.systemTestProperties.zosjobs.sysaff;
});

afterEach((done: any) => { // eslint-disable-line jest/no-done-callback
require("rimraf")(outputDirectory, {maxBusyTries: 10}, (err?: Error) => {
done(err);
});
afterEach(() => {
require("rimraf").sync(outputDirectory, {maxBusyTries: 10});
});

afterAll(async () => {
Expand Down

0 comments on commit 6462480

Please sign in to comment.