Removing unnecessary beforeAll block

Mocks are removed in Jest automatically due to our
Jest config file.

Co-authored-by: Christine Nagadya <cnagadya@github.com>
Co-authored-by: Henri Maurer <hmaurer@github.com>
This commit is contained in:
Federico Builes
2022-10-13 16:52:54 +02:00
parent 4c0961eff6
commit 7e41a6f1ee
-4
View File
@@ -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,