Skip to content

Commit

Permalink
Removing unnecessary beforeAll block
Browse files Browse the repository at this point in the history
Mocks are removed in Jest automatically due to our
Jest config file.

Co-authored-by: Christine Nagadya <[email protected]>
Co-authored-by: Henri Maurer <[email protected]>
  • Loading branch information
3 people committed Oct 13, 2022
1 parent 4c0961e commit 7e41a6f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions __tests__/licenses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ test('it fails if a license outside the allow list is found in both of added and
})

describe('GH License API fallback', () => {
beforeEach(() => {
jest.clearAllMocks()
})

test('it calls licenses endpoint if atleast one of the changes has null license and valid source_repository_url', async () => {
const nullLicenseChange = {
...npmChange,
Expand Down

0 comments on commit 7e41a6f

Please sign in to comment.