From da553866db98a1038b6813547612ed25c87e6868 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Fri, 11 Jun 2021 19:59:08 -0400 Subject: [PATCH] refactor: remove unused function parameters --- test/integration/additions.test.js | 2 +- test/integration/normalize.test.js | 2 +- test/integration/smoke.test.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/additions.test.js b/test/integration/additions.test.js index 45fa7769e..c19346b79 100644 --- a/test/integration/additions.test.js +++ b/test/integration/additions.test.js @@ -40,7 +40,7 @@ test("reqheaders additions", async () => { } }); -test("scope additions", async (t) => { +test("scope additions", async () => { const mock = fixtures.mock("api.github.com/rename-repository", { scope: "http://localhost:3000", }); diff --git a/test/integration/normalize.test.js b/test/integration/normalize.test.js index d48b9f2d1..916664946 100644 --- a/test/integration/normalize.test.js +++ b/test/integration/normalize.test.js @@ -7,7 +7,7 @@ glob .sync("scenarios/**/raw-fixture.json") .map((path) => path.replace(/(^scenarios\/|\/raw-fixture.json$)/g, "")) .forEach((fixturnName) => { - test(`normalize ${fixturnName}`, async (t) => { + test(`normalize ${fixturnName}`, async () => { const raw = JSON.parse( readFileSync(`./scenarios/${fixturnName}/raw-fixture.json`) ); diff --git a/test/integration/smoke.test.js b/test/integration/smoke.test.js index d8af1df0e..78a4e25b7 100644 --- a/test/integration/smoke.test.js +++ b/test/integration/smoke.test.js @@ -24,7 +24,7 @@ test("Accepts fixtures object as argument", async () => { expect(result.data.name).toBe("hello-world"); }); -test("Missing Accept header", async (t) => { +test("Missing Accept header", async () => { fixtures.mock("api.github.com/get-repository"); try { @@ -38,7 +38,7 @@ test("Missing Accept header", async (t) => { } }); -test("Matches corret fixture based on authorization header", async (t) => { +test("Matches corret fixture based on authorization header", async () => { fixtures.mock("api.github.com/get-root"); const result = await axios({