Browse Source

test(core): Fix bad test

Michael Bromley 5 years ago
parent
commit
7fd413fddc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/core/e2e/order-process.e2e-spec.ts

+ 1 - 1
packages/core/e2e/order-process.e2e-spec.ts

@@ -91,7 +91,7 @@ describe('Order process', () => {
     });
     });
 
 
     it('CustomOrderProcess is injectable', () => {
     it('CustomOrderProcess is injectable', () => {
-        expect(initSpy).toHaveBeenCalledTimes(1);
+        expect(initSpy).toHaveBeenCalled();
         expect(initSpy.mock.calls[0][0]).toBe('default');
         expect(initSpy.mock.calls[0][0]).toBe('default');
     });
     });