Skip to content

Commit

Permalink
chore(applitools): making tests more static for consistent testing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas authored and pull[bot] committed Nov 24, 2024
1 parent 558b5ec commit 8802f8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/components/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8802f8e

Please sign in to comment.