Skip to content

Commit

Permalink
fix: unusued vars and testid changes:
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Sep 30, 2024
1 parent fe83df1 commit 30214e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("when a user fills in the 'add a new editor' form correctly", () => {

it("closes the modal", async () => {
await waitFor(() => {
expect(screen.queryByTestId("modal-add-user")).not.toBeInTheDocument();
expect(screen.queryByTestId("modal-create-user")).not.toBeInTheDocument();
});
});

Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/pages/FlowEditor/lib/store/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CoreDomainClient } from "@opensystemslab/planx-core";
import { Team, User, UserTeams } from "@opensystemslab/planx-core/types";
import axios from "axios";
import type { StateCreator } from "zustand";
import { client } from "lib/graphql";

import { EditorStore } from "./editor";

export interface UserStore {
Expand Down

0 comments on commit 30214e2

Please sign in to comment.