Removing unnecessary beforeAll block
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]>
This commit is contained in:
co-authored by
Christine Nagadya
Henri Maurer
parent
4c0961eff6
commit
7e41a6f1ee
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user