Update docs/frontend-system/building-plugins/testing.md

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-12-18 14:26:42 +01:00
committed by Camila Belo
parent 9bda7ea3d7
commit 63aab7c050
@@ -31,7 +31,7 @@ describe('Entity details component', () => {
await renderInTestApp(<EntityDetails owner="tools" name="test" />);
await expect(
screen.getByText('The entity "test" is owned by "tools"'),
screen.findByText('The entity "test" is owned by "tools"'),
).resolves.toBeInTheDocument();
});
});
@@ -75,7 +75,7 @@ describe('Entity details component', () => {
);
await expect(
screen.getByText('The entity "test" is owned by "tools"'),
screen.findByText('The entity "test" is owned by "tools"'),
).resolves.toBeInTheDocument();
});
});