diff --git a/lib/command/run-multiple.js b/lib/command/run-multiple.js index 41200f6f5..57d5ef3a3 100644 --- a/lib/command/run-multiple.js +++ b/lib/command/run-multiple.js @@ -31,6 +31,7 @@ module.exports = function (selectedRuns, options) { let codecept; const testRoot = getTestRoot(configFile); + global.codecept_dir = testRoot; // copy opts to run Object.keys(options)