Fix assertion in mocks_helper_spec.js
This commit is contained in:
parent
ef3b18deb3
commit
a56712433e
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue