Skip to content

Commit

Permalink
refactor: remove unused function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Jun 11, 2021
1 parent 0bd6dcf commit da55386
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/integration/additions.test.js
Expand Up @@ -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",
});
Expand Down
2 changes: 1 addition & 1 deletion test/integration/normalize.test.js
Expand Up @@ -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`)
);
Expand Down
4 changes: 2 additions & 2 deletions test/integration/smoke.test.js
Expand Up @@ -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 {
Expand All @@ -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({
Expand Down

0 comments on commit da55386

Please sign in to comment.