Commit 7e8ba4e4 authored by Mike Greiling's avatar Mike Greiling
Browse files

Merge branch 'winh-fix-mocks_helper_spec' into 'master'

Fix assertion in mocks_helper_spec.js

See merge request gitlab-org/gitlab-ce!32005
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
readdir.sync.mockReturnValue([]); readdir.sync.mockReturnValue([]);
setupManualMocks(); setupManualMocks();
readdir.mock.calls.forEach(call => { const readdirSpy = readdir.sync;
expect(readdirSpy).toHaveBeenCalled();
readdirSpy.mock.calls.forEach(call => {
expect(call[1].deep).toBeLessThan(100); expect(call[1].deep).toBeLessThan(100);
}); });
}); });
......
Supports Markdown
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