We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f7fd6 commit 733f17eCopy full SHA for 733f17e
src/app/_components/nhs-frontend/Details.test.tsx
@@ -9,15 +9,7 @@ describe("Details Component", () => {
9
10
it("renders non expandable section correctly", () => {
11
render(
12
- <Details
13
- title={"title"}
14
- component={
15
- <>
16
- <p>test</p>
17
- </>
18
- }
19
- notExpandable={true}
20
- />,
+ <Details title={"title"} component={<p>test</p>} notExpandable={true} />,
21
);
22
expect(screen.queryByRole("group")).not.toBeInTheDocument();
23
expect(
0 commit comments