Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Jun 4, 2020
1 parent e34c12c commit 33168cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('fully matching IDs', () => {
location: 'my-location',
monitorId: 'my-monitor',
status: 'up',
summaryTimestamp: '2020-06-04T12:39:54.698-0500',
summaryTimestamp: new Date('2020-06-04T12:39:54.698-0500'),
},
]);
expect(res).toEqual(expected);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const fullyMatchingIds = (queryResult: any, statusFilter?: string) => {
location,
checkGroup,
status,
summaryTimestamp: latestSource['@timestamp'],
summaryTimestamp: new Date(latestSource['@timestamp']),
});
}

Expand Down

0 comments on commit 33168cb

Please sign in to comment.