Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should return nothing for readdir errors', async () => {
recursive.__setReturnError(true);
const fonts = await m.getAll('network');
expect(fonts.length).toBe(0);
});
});