diff --git a/packages/babel-cli/test/index.js b/packages/babel-cli/test/index.js index d4a096e63d22..939c1706caaf 100644 --- a/packages/babel-cli/test/index.js +++ b/packages/babel-cli/test/index.js @@ -3,7 +3,6 @@ import * as helper from "@babel/helper-fixtures"; import rimraf from "rimraf"; import { sync as makeDirSync } from "make-dir"; import child from "child_process"; -import merge from "lodash/merge"; import path from "path"; import fs from "fs"; import { fileURLToPath } from "url"; @@ -221,7 +220,7 @@ fs.readdirSync(fixtureLoc).forEach(function (binName) { const testLoc = path.join(suiteLoc, testName); - const opts = { + let opts = { args: [], }; @@ -247,7 +246,7 @@ fs.readdirSync(fixtureLoc).forEach(function (binName) { delete taskOpts.os; } - merge(opts, taskOpts); + opts = { args: [], ...taskOpts }; } ["stdout", "stdin", "stderr"].forEach(function (key) {