chore: adapt tests; keys are displayed as is instead of formatted and capitalized

Signed-off-by: Chris Langhout <clanghout@bol.com>
This commit is contained in:
Chris Langhout
2024-10-08 11:17:21 +02:00
committed by blam
parent 0d468fcd78
commit 28bb3749d8
@@ -37,13 +37,13 @@ describe('IngressDrawer', () => {
expect(screen.getByText('YAML')).toBeInTheDocument();
expect(screen.getByText('Rules')).toBeInTheDocument();
expect(
screen.getByText(textContentMatcher('Host: api.awesome-host.io')),
screen.getByText(textContentMatcher('host: api.awesome-host.io')),
).toBeInTheDocument();
expect(
screen.getAllByText(textContentMatcher('Service Port: 80')),
screen.getAllByText(textContentMatcher('servicePort: 80')),
).toHaveLength(2);
expect(
screen.getAllByText(textContentMatcher('Service Name: awesome-service')),
screen.getAllByText(textContentMatcher('serviceName: awesome-service')),
).toHaveLength(2);
});
});