Increase SystemTrayService test timeout to help CI reliability

This commit is contained in:
Evan Hahn 2021-12-14 12:13:06 -06:00 committed by GitHub
parent c8c0d405c2
commit c32917284a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,14 @@ import * as sinon from 'sinon';
import type { MenuItem } from 'electron';
import { BrowserWindow, Tray, nativeImage } from 'electron';
import * as path from 'path';
import { MINUTE } from '../../util/durations';
import { SystemTrayService } from '../../../app/SystemTrayService';
describe('SystemTrayService', () => {
describe('SystemTrayService', function thisNeeded() {
// These tests take more time on CI in some cases, so we increase the timeout.
this.timeout(MINUTE);
let sandbox: sinon.SinonSandbox;
/**