mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Removing method stackWrap
This commit is contained in:
parent
b3b72683d0
commit
19cc710d9b
@ -60,7 +60,7 @@ for (const arg of process.argv) {
|
||||
// start and end of the worker process.
|
||||
if (process.env.MOCHA_WORKER_ID !== undefined &&
|
||||
process.env.MOCHA_WEBDRIVER !== undefined) {
|
||||
const {getMochaHooks, setDriver, createDriver, stackWrapDriverMethods} = require('mocha-webdriver');
|
||||
const {getMochaHooks, setDriver, createDriver} = require('mocha-webdriver');
|
||||
const mochaHooks = getMochaHooks();
|
||||
mochaHooks.beforeAll = async function() {
|
||||
console.debug('Hijiking mocha webdriver');
|
||||
@ -70,7 +70,6 @@ if (process.env.MOCHA_WORKER_ID !== undefined &&
|
||||
return;
|
||||
}
|
||||
this.timeout('20s');
|
||||
stackWrapDriverMethods();
|
||||
|
||||
setDriver(await createDriver().catch(err => {
|
||||
console.error('Failed to create driver:', err);
|
||||
|
Loading…
Reference in New Issue
Block a user