build: speedy tests on circle by splitting the test files into multiple jobs (#21015)

* build: let circleci divide our test suites in two

* well our tests rely on side affects, thats cool I guess
This commit is contained in:
Samuel Attard 2019-11-06 16:15:55 -08:00 committed by GitHub
parent bbfb32b136
commit 24939e8fa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 51 additions and 80 deletions

View file

@ -1,19 +1,15 @@
'use strict'
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const { expect } = require('chai')
const path = require('path')
const { resolveGetters } = require('./expect-helpers')
const { ifdescribe } = require('./spec-helpers')
const { remote, ipcRenderer } = require('electron')
const { ipcMain, BrowserWindow } = remote
const { expect } = chai
const features = process.electronBinding('features')
chai.use(dirtyChai)
const comparePaths = (path1, path2) => {
if (process.platform === 'win32') {
path1 = path1.toLowerCase()