Prechádzať zdrojové kódy

test(core): Fix bad test

Michael Bromley 5 rokov pred
rodič
commit
7fd413fddc

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

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