Skip to content

Commit

Permalink
fix more front-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eastandwestwind committed Dec 20, 2022
1 parent 1c92ac1 commit 694db27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clients/privacy-center/__tests__/RequestModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe("RequestModal", () => {
expect(
screen.getByPlaceholderText("test-email@example.com")
).toBeInTheDocument();
expect(screen.getByPlaceholderText("+1 000 000 0000")).toBeInTheDocument();
expect(screen.getByPlaceholderText("000 000 0000")).toBeInTheDocument();

unmount();

Expand All @@ -81,7 +81,7 @@ describe("RequestModal", () => {
expect(
screen.getByPlaceholderText("test-email@example.com")
).toBeInTheDocument();
expect(screen.queryByPlaceholderText("+1 000 000 0000")).toBeNull();
expect(screen.queryByPlaceholderText("000 000 0000")).toBeNull();

unmount();

Expand All @@ -94,7 +94,7 @@ describe("RequestModal", () => {

expect(screen.queryByPlaceholderText("Michael Brown")).toBeNull();
expect(screen.queryByPlaceholderText("test-email@example.com")).toBeNull();
expect(screen.getByPlaceholderText("+1 000 000 0000")).toBeInTheDocument();
expect(screen.getByPlaceholderText("000 000 0000")).toBeInTheDocument();

unmount();
});
Expand Down

0 comments on commit 694db27

Please sign in to comment.