Commit a5671243 authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Mike Greiling

Fix assertion in mocks_helper_spec.js

parent ef3b18de
......@@ -46,7 +46,9 @@ describe('mocks_helper.js', () => {
readdir.sync.mockReturnValue([]);
setupManualMocks();
readdir.mock.calls.forEach(call => {
const readdirSpy = readdir.sync;
expect(readdirSpy).toHaveBeenCalled();
readdirSpy.mock.calls.forEach(call => {
expect(call[1].deep).toBeLessThan(100);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment