Fix tests

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2024-02-21 16:51:00 +01:00
parent 8dce28778c
commit 319833b0a4
2 changed files with 1 additions and 2 deletions
@@ -23,7 +23,7 @@ describe('ExampleComponent', () => {
it('should render', async () => {
await renderInTestApp(<ExampleComponent />);
expect(
screen.getByText('Welcome to example-frontend!'),
screen.getByText('Welcome to {{ id }}!'),
).toBeInTheDocument();
});
});
@@ -13,7 +13,6 @@ import { ExampleFetchComponent } from '../ExampleFetchComponent';
export const ExampleComponent = () => (
<Page themeId="tool">
<Header title="Welcome to {{ id }}!" subtitle="Optional subtitle">
<HeaderLabel label="Owner" value="Team X" />
<HeaderLabel label="Lifecycle" value="Alpha" />