Skip to content

Commit

Permalink
Remove needless beforeEach
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Sep 22, 2022
1 parent 00cbadf commit c2ec0b5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ describe('fetch package', () => {
});

describe('getLicensePath', () => {
beforeEach(() => {
MockArchive.getPathParts = jest.requireActual('../archive').getPathParts;
});
MockArchive.getPathParts = jest.requireActual('../archive').getPathParts;

it('returns first license path if found', () => {
const path = getLicensePath([
Expand Down

0 comments on commit c2ec0b5

Please sign in to comment.