Disable spectron tests on macOS

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2021-04-01 15:48:39 +02:00
parent d0c66b2c48
commit 3be372d49f

View File

@ -15,9 +15,14 @@
*/
import { expect } from 'chai';
import { platform } from 'os';
import { Application } from 'spectron';
import * as electronPath from 'electron';
// TODO: spectron fails to start on the CI with:
// Error: Failed to create session.
// unknown error: Chrome failed to start: exited abnormally
if (platform() !== 'darwin') {
describe('Spectron', function () {
// Mainly for CI jobs
this.timeout(40000);
@ -58,3 +63,4 @@ describe('Spectron', function () {
});
});
});
}