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:
parent
1db728c6da
commit
175896384f
@ -147,7 +147,7 @@ describe("Icon settings", () => {
|
||||
});
|
||||
|
||||
it("external component has cluster preferences in props", async () => {
|
||||
expect(rendered.getByText("Cluster some-cluster-name")).toBeInTheDocument();
|
||||
expect(rendered.getByText(/some-cluster-name/)).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user