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,5 +1,4 @@
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const { expect } = require('chai')
const ChildProcess = require('child_process')
const fs = require('fs')
const path = require('path')
@ -9,9 +8,6 @@ const nativeImage = require('electron').nativeImage
const features = process.electronBinding('features')
const { expect } = chai
chai.use(dirtyChai)
async function expectToThrowErrorWithCode (func, code) {
let error
try {