(react) remove warnings during tests

Numerous warnings was raised during tests. We remove most of them. Some
needs to be discussed before fix.
This commit is contained in:
jbpenrath
2024-04-29 15:29:33 +02:00
committed by Jean-Baptiste PENRATH
parent e8ef155b1e
commit a70f8129eb
7 changed files with 58 additions and 11 deletions

View File

@@ -194,7 +194,7 @@ describe("<TextArea/>", () => {
it("renders with className", async () => {
render(<TextArea className="my-custom-class" />);
screen.debug();
expect(
document.querySelector(".c__field--textarea.my-custom-class"),
).toBeInTheDocument();