Skip to content

Commit

Permalink
fix(lib): merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
manushak committed Mar 1, 2024
2 parents 8beec6a + 58fe74e commit 983df86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/unit/lib/watt-time/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('lib/watt-time: ', () => {

it('throws an error when wrong `geolocation` is provided.', async () => {
const errorMessage =
'"geolocation" parameter is should be a comma-separated string consisting of `latitude` and `longitude`. Error code: invalid_string.';
'"geolocation" parameter is not a comma-separated string consisting of `latitude` and `longitude`. Error code: invalid_string.';
process.env.WATT_TIME_USERNAME = 'test1';
process.env.WATT_TIME_PASSWORD = 'test2';

Expand Down
2 changes: 1 addition & 1 deletion src/lib/watt-time/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const WattTimeGridEmissions = (
.string()
.regex(new RegExp('^\\-?\\d{1,3}\\.\\d+,-?\\d{1,3}\\.\\d+$'), {
message:
'should be a comma-separated string consisting of `latitude` and `longitude`',
'not a comma-separated string consisting of `latitude` and `longitude`',
}),
});

Expand Down

0 comments on commit 983df86

Please sign in to comment.