mirror of https://github.com/apache/superset.git
chore(applitools): making tests more static for consistent testing (#28201)
This commit is contained in:
parent
a5355d86fc
commit
03143bf9ad
|
@ -594,19 +594,19 @@ const shoppingData: ShoppingData[] = [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
item: 'Floppy Disk 10 pack',
|
item: 'Floppy Disk 10 pack',
|
||||||
orderDate: Date.now(),
|
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
|
||||||
price: 9.99,
|
price: 9.99,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
item: 'DVD 100 pack',
|
item: 'DVD 100 pack',
|
||||||
orderDate: Date.now(),
|
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
|
||||||
price: 7.99,
|
price: 7.99,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
item: '128 GB SSD',
|
item: '128 GB SSD',
|
||||||
orderDate: Date.now(),
|
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
|
||||||
price: 3.99,
|
price: 3.99,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -30,7 +30,7 @@ export const Basic: ComponentStory<typeof TimeCell> = args => (
|
||||||
);
|
);
|
||||||
|
|
||||||
Basic.args = {
|
Basic.args = {
|
||||||
value: Date.now(),
|
value: new Date('2015-07-02T16:16:00Z').getTime(),
|
||||||
};
|
};
|
||||||
|
|
||||||
Basic.argTypes = {
|
Basic.argTypes = {
|
||||||
|
|
Loading…
Reference in New Issue