Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
  • Loading branch information
gnanakeethan committed Sep 24, 2023
1 parent ee60288 commit 8dc12da
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/lib/watt-time/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,14 @@ describe('watt-time:configure test', () => {
await expect(
model.calculate([
{
location: {
latitude: 37.7749,
longitude: -122.4194,
},
location: '37.7749,-122.4194',
timestamp: '2021-01-01T00:00:00Z',
duration: 3600,
},
])
).resolves.toStrictEqual([
{
location: {
latitude: 37.7749,
longitude: -122.4194,
},
location: '37.7749,-122.4194',
timestamp: '2021-01-01T00:00:00Z',
duration: 3600,
'grid-ci': 2096.256940667132,
Expand Down

0 comments on commit 8dc12da

Please sign in to comment.