mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
@@ -16,7 +16,7 @@ import enMessages from '../../../_locales/en/messages.json';
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
|
||||
describe('SystemTrayService', function thisNeeded() {
|
||||
describe('SystemTrayService', function (this: Mocha.Suite) {
|
||||
// These tests take more time on CI in some cases, so we increase the timeout.
|
||||
this.timeout(MINUTE);
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ describe('base_config', () => {
|
||||
assert.deepEqual(_getCachedValue(), Object.create(null));
|
||||
});
|
||||
|
||||
it('handles a file that cannot be opened, if told to', function test() {
|
||||
it('handles a file that cannot be opened, if told to', function (this: Mocha.Context) {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip();
|
||||
}
|
||||
@@ -227,7 +227,7 @@ describe('base_config', () => {
|
||||
});
|
||||
|
||||
describe('throwOnFilesystemErrors: true', () => {
|
||||
it("doesn't update the local cache if file removal fails", async function test() {
|
||||
it("doesn't update the local cache if file removal fails", async function (this: Mocha.Context) {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip();
|
||||
}
|
||||
@@ -252,7 +252,7 @@ describe('base_config', () => {
|
||||
});
|
||||
|
||||
describe('throwOnFilesystemErrors: false', () => {
|
||||
it('updates the local cache even if file removal fails', async function test() {
|
||||
it('updates the local cache even if file removal fails', async function (this: Mocha.Context) {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user