Skip to content

Commit

Permalink
Fixed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergii Mykhailov committed Feb 26, 2024
1 parent 12c48a3 commit a209956
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -32,13 +32,13 @@
},
"devDependencies": {
"@jest-runner/electron": "3.0.0",
"@types/jest": "^25.1.1",
"@types/jest": "^29.5.12",
"electron": "9.4.0",
"jest": "^25.1.0",
"jest": "^26.4.0",
"rimraf": "^3.0.1",
"ts-jest": "^26.4.3",
"tsdx": "^0.12.3",
"tslint": "^6.0.0",
"tslint": "^5.1.0",
"tslint-microsoft-contrib": "^6.2.0",
"tsutils": "^3.17.1",
"typescript": "^3.7.5"
Expand Down
4 changes: 2 additions & 2 deletions src/date-time-formatter.test.ts
Expand Up @@ -29,7 +29,7 @@ const {
describe('date-time-format-options', () => {

test('uses correct version of electron', () => {
expect(process.versions.electron).toMatch(/8.*$/);
expect((process.versions as any).electron).toMatch(/8.*$/);
});

describe('functionality', () => {
Expand Down Expand Up @@ -457,7 +457,7 @@ describe('date-time-format-options', () => {
}
const end = performance.now();
expect(result).toBe('6/28/2020 3:40 PM');
expect(end - start).toBe(0);
expect(end - start).toBe(0);
});
});
});
4 changes: 2 additions & 2 deletions src/safe-datetimeformat.ts
Expand Up @@ -39,9 +39,9 @@ export function getVdiTimeZoneFix() {
return 'Etc/GMT';
}
if (tz > 0) {
return "Etc/GMT+" + tz;
return 'Etc/GMT+' + tz;
}
return "Etc/GMT"+ tz;
return 'Etc/GMT' + tz;
}
return 'UTC';
}
Expand Down

0 comments on commit a209956

Please sign in to comment.