mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) bump mocha version to allow parallel tests; move more tests to core
Summary: This uses a newer version of mocha in grist-core so that tests can be run in parallel. That allows more tests to be moved without slowing things down overall. Tests moved are venerable browser tests; only the ones that "just work" or worked without too much trouble to are moved, in order to keep the diff from growing too large. Will wrestle with more in follow up. Parallelism is at the file level, rather than the individual test. The newer version of mocha isn't needed for grist-saas repo; tests are parallelized in our internal CI by other means. I've chosen to allocate files to workers in a cruder way than our internal CI, based on initial characters rather than an automated process. The automated process would need some reworking to be compatible with mocha running in parallel mode. Test Plan: this diff was tested first on grist-core, then ported to grist-saas so saas repo history will correctly track history of moved files. Reviewers: jarek Reviewed By: jarek Subscribers: jarek Differential Revision: https://phab.getgrist.com/D3927
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/* global describe, before, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var BinaryIndexedTree = require('app/common/BinaryIndexedTree');
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var CircularArray = require('app/common/CircularArray');
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var MemBuffer = require('app/common/MemBuffer');
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('chai').assert;
|
||||
var RecentItems = require('app/common/RecentItems');
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var _ = require('underscore');
|
||||
var assert = require('chai').assert;
|
||||
var gutil = require('app/common/gutil');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('chai').assert;
|
||||
var gutil = require('app/common/gutil');
|
||||
var _ = require('underscore');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('chai').assert;
|
||||
var marshal = require('app/common/marshal');
|
||||
var MemBuffer = require('app/common/MemBuffer');
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
*/
|
||||
|
||||
|
||||
/* global describe, it, before */
|
||||
|
||||
var assert = require('chai').assert;
|
||||
|
||||
var bluebird = require('bluebird');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it, before, after */
|
||||
|
||||
var _ = require('underscore');
|
||||
var assert = require('assert');
|
||||
var Chance = require('chance');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var gutil = require('app/common/gutil');
|
||||
var _ = require('underscore');
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('assert');
|
||||
var {timeFormat} = require('app/common/timeFormat');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user