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:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user