chore(applitools): making tests more static for consistent testing (#28201)

This commit is contained in:
Evan Rusackas 2024-06-20 10:41:59 -06:00 committed by GitHub
parent a5355d86fc
commit 03143bf9ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -594,19 +594,19 @@ const shoppingData: ShoppingData[] = [
{
key: 1,
item: 'Floppy Disk 10 pack',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 9.99,
},
{
key: 2,
item: 'DVD 100 pack',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 7.99,
},
{
key: 3,
item: '128 GB SSD',
orderDate: Date.now(),
orderDate: new Date('2015-07-02T16:16:00Z').getTime(),
price: 3.99,
},
];

View File

@ -30,7 +30,7 @@ export const Basic: ComponentStory<typeof TimeCell> = args => (
);
Basic.args = {
value: Date.now(),
value: new Date('2015-07-02T16:16:00Z').getTime(),
};
Basic.argTypes = {