Fix place order and my order page #46
Annotations
17 errors
src/services/__tests__/placeorder-confirm.test.tsx > usePlaceOrderConfirm > should call getPlaceOrderConfirm with correct parameters:
src/services/__tests__/placeorder-confirm.test.tsx#L51
AssertionError: expected "post" to be called with arguments: [ 'client/v2/confirm', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-confirm.test.tsx:51:30
|
src/services/__tests__/placeorder-confirm.test.tsx > usePlaceOrderConfirm > should handle errors correctly:
src/services/__tests__/placeorder-confirm.test.tsx#L87
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to confirm order
- Expected
+ Received
- [Error: Failed to confirm order]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-confirm.test.tsx:87:34
|
src/services/__tests__/placeorder-init-service.test.tsx > usePlaceOrderInit > should call getPlaceOrderInit with correct parameters:
src/services/__tests__/placeorder-init-service.test.tsx#L50
AssertionError: expected "post" to be called with arguments: [ 'client/v2/initialize_order', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-init-service.test.tsx:50:30
|
src/services/__tests__/placeorder-init-service.test.tsx > usePlaceOrderInit > should handle errors correctly:
src/services/__tests__/placeorder-init-service.test.tsx#L85
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to initialize order
- Expected
+ Received
- [Error: Failed to initialize order]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-init-service.test.tsx:85:34
|
src/services/__tests__/placeorder-quote-service.test.tsx > usePlaceOrderQuote > should call getPlaceOrderQuote with correct parameters:
src/services/__tests__/placeorder-quote-service.test.tsx#L42
AssertionError: expected "post" to be called with arguments: [ 'client/v2/get_quote', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-quote-service.test.tsx:42:30
|
src/services/__tests__/placeorder-quote-service.test.tsx > usePlaceOrderQuote > should handle errors correctly:
src/services/__tests__/placeorder-quote-service.test.tsx#L76
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to fetch quote
- Expected
+ Received
- [Error: Failed to fetch quote]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-quote-service.test.tsx:76:34
|
build (macos-latest)
Process completed with exit code 1.
|
build (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
src/services/__tests__/placeorder-confirm.test.tsx > usePlaceOrderConfirm > should call getPlaceOrderConfirm with correct parameters:
src/services/__tests__/placeorder-confirm.test.tsx#L51
AssertionError: expected "post" to be called with arguments: [ 'client/v2/confirm', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-confirm.test.tsx:51:30
|
src/services/__tests__/placeorder-confirm.test.tsx > usePlaceOrderConfirm > should handle errors correctly:
src/services/__tests__/placeorder-confirm.test.tsx#L87
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to confirm order
- Expected
+ Received
- [Error: Failed to confirm order]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-confirm.test.tsx:87:34
|
src/services/__tests__/placeorder-init-service.test.tsx > usePlaceOrderInit > should call getPlaceOrderInit with correct parameters:
src/services/__tests__/placeorder-init-service.test.tsx#L50
AssertionError: expected "post" to be called with arguments: [ 'client/v2/initialize_order', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-init-service.test.tsx:50:30
|
src/services/__tests__/placeorder-init-service.test.tsx > usePlaceOrderInit > should handle errors correctly:
src/services/__tests__/placeorder-init-service.test.tsx#L85
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to initialize order
- Expected
+ Received
- [Error: Failed to initialize order]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-init-service.test.tsx:85:34
|
src/services/__tests__/placeorder-quote-service.test.tsx > usePlaceOrderQuote > should call getPlaceOrderQuote with correct parameters:
src/services/__tests__/placeorder-quote-service.test.tsx#L42
AssertionError: expected "post" to be called with arguments: [ 'client/v2/get_quote', …(1) ]
Received:
Number of calls: 0
❯ src/services/__tests__/placeorder-quote-service.test.tsx:42:30
|
src/services/__tests__/placeorder-quote-service.test.tsx > usePlaceOrderQuote > should handle errors correctly:
src/services/__tests__/placeorder-quote-service.test.tsx#L76
AssertionError: expected TypeError: Cannot set properties of undef… to deeply equal Error: Failed to fetch quote
- Expected
+ Received
- [Error: Failed to fetch quote]
+ [TypeError: Cannot set properties of undefined (setting 'action')]
❯ src/services/__tests__/placeorder-quote-service.test.tsx:76:34
|
build (ubuntu-latest)
Process completed with exit code 1.
|
build (windows-latest)
The job was canceled because "macos-latest" failed.
|
build (windows-latest)
The operation was canceled.
|