chore: adding missing timestamp fields to tests
This commit is contained in:
parent
4f5ad8b087
commit
42079206b4
@ -13,6 +13,8 @@ export function generateMarket(override?: PartialDeep<Market>): Market {
|
||||
state: Schema.MarketState.STATE_ACTIVE,
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2024-01-02',
|
||||
pending: '2024-01-01',
|
||||
close: '',
|
||||
open: '',
|
||||
},
|
||||
|
@ -65,6 +65,8 @@ export const generateFill = (override?: PartialDeep<Trade>) => {
|
||||
},
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2005-03-31T19:37:00.000Z',
|
||||
pending: '2005-04-01T19:37:00.000Z',
|
||||
open: '2005-04-02T19:37:00.000Z',
|
||||
close: '2005-04-02T19:37:00.000Z',
|
||||
},
|
||||
|
@ -34,6 +34,8 @@ export const generateFundingPayment = (
|
||||
},
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2005-03-31T19:37:00.000Z',
|
||||
pending: '2005-04-01T19:37:00.000Z',
|
||||
open: '2005-04-02T19:37:00.000Z',
|
||||
close: '2005-04-02T19:37:00.000Z',
|
||||
},
|
||||
|
@ -32,6 +32,8 @@ export const generateStopOrder = (
|
||||
},
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2005-04-02T19:37:00.000Z',
|
||||
pending: '2005-04-03T19:37:00.000Z',
|
||||
close: '',
|
||||
open: '',
|
||||
},
|
||||
|
@ -116,6 +116,8 @@ describe('OrderViewDialog', () => {
|
||||
},
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2023-07-17T12:05:25.822854221Z',
|
||||
pending: '2023-07-18T12:05:25.822854221Z',
|
||||
open: '2023-07-19T12:05:25.822854221Z',
|
||||
close: null,
|
||||
},
|
||||
|
@ -216,6 +216,8 @@ describe('WithdrawFormContainer', () => {
|
||||
},
|
||||
marketTimestamps: {
|
||||
__typename: 'MarketTimestamps',
|
||||
proposed: '2022-10-23T18:17:59.149283671Z',
|
||||
pending: '2022-10-24T18:17:59.149283671Z',
|
||||
open: '2022-10-25T18:17:59.149283671Z',
|
||||
close: null,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user