Skip to content

Commit

Permalink
Remove unnecessary parameters in scripts-runner test
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Feb 12, 2020
1 parent 26b21b6 commit ba2784b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/buidler-core/test/internal/util/scripts-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("Scripts runner", function() {
assert.isAtLeast(after.getTime() - before.getTime(), 100);
});

it("Should resolve to the status code of the script run", async function() {
it.only("Should resolve to the status code of the script run", async function() {
this.timeout(35000);

const statusCode1 = await runScript(
Expand All @@ -38,11 +38,7 @@ describe("Scripts runner", function() {
);
assert.equal(statusCode1, 0);

const statusCode2 = await runScript(
"./failing-script.js",
[],
["--require", path.join(__dirname, "..", "..", "..", "src", "register")]
);
const statusCode2 = await runScript("./failing-script.js");
assert.equal(statusCode2, 123);

const statusCode3 = await runScript(
Expand Down

0 comments on commit ba2784b

Please sign in to comment.