Skip to content

Commit

Permalink
alter team theme tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Jul 19, 2024
1 parent 5a19064 commit 16f194f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hasura.planx.uk/tests/team_themes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ describe("team_themes", () => {
expect(i.queries).toContain("team_themes");
});

test("can insert team_themes", () => {
expect(i.queries).toContain("insert_team_themes");
test("cannot query insert team_themes", () => {
expect(i.queries).not.toContain("insert_team_themes");
});

test("can query team_themes", async () => {
expect(i.queries).toContain("team_themes");
});

test("can insert team_themes", () => {
expect(i.mutations).toContain("insert_team_themes");
});

test("can mutate team_themes", async () => {
expect(i.mutations).toContain("update_team_themes");
expect(i.mutations).toContain("update_team_themes_by_pk");
Expand Down

0 comments on commit 16f194f

Please sign in to comment.