Skip to content

Commit

Permalink
Update tests for renamed modules
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Feb 1, 2024
1 parent bcd4d65 commit 61ef9e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/query.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ describe("Verify Auth Query Returns", () => {
});
});

const repoCases = [
const repositoryCases = [
[{ query: { repository: "owner/repo" } }, "owner/repo"],
[{ query: {} }, ""],
[{ query: { repository: "InvalidRepo" } }, ""],
];

describe("Verify Repo Query Returns", () => {
test.each(repoCases)("Given %o Returns %p", (arg, result) => {
expect(query.repo(arg)).toBe(result);
expect(query.repository(arg)).toBe(result);
});
});

Expand Down

0 comments on commit 61ef9e0

Please sign in to comment.