Skip to content

Commit

Permalink
Fix failing tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Oct 18, 2024
1 parent f63c324 commit f64b807
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/HttpInterceptor-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,10 @@ describe('HttpInterceptor', () => {
});

afterAll(() => {
const filenamettl: string = crypto.createHash('sha1')
.update(fn)
.digest('hex');
const filenametrig: string = crypto.createHash('sha1')
const filename: string = crypto.createHash('sha1')
.update(fn)
.digest('hex');
fse.removeSync(Path.join(jestTestFolder, filenametrig));
fse.removeSync(Path.join(jestTestFolder, filenamettl));
fse.removeSync(Path.join(jestTestFolder, filename));
});
});
});

0 comments on commit f64b807

Please sign in to comment.