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:
@@ -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