1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix getByText check

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-22 15:07:59 +03:00
parent 1db728c6da
commit 175896384f

View File

@ -147,7 +147,7 @@ describe("Icon settings", () => {
}); });
it("external component has cluster preferences in props", async () => { it("external component has cluster preferences in props", async () => {
expect(rendered.getByText("Cluster some-cluster-name")).toBeInTheDocument(); expect(rendered.getByText(/some-cluster-name/)).toBeInTheDocument();
}); });
}); });
}); });