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 get all network fonts', async () => {
// set up mock data
recursive.__setFiles(['foo.ttf', 'bar.ttf', 'baz.ttf', 'qux.ttf']);
const fonts = await m.getAll('network');
expect(fonts.length).toBe(4);
});