mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-05 12:26:14 +02:00
fix EndpointLink test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
242d459685
commit
4f67eb3979
@ -33,7 +33,7 @@ describe('EndpointLink', () => {
|
||||
it('renders an alert if url is invalid', () => {
|
||||
const endpointLink = shallow(<EndpointLink endpoint={'afdsacas'} globalUrl={'afdsacas'} />);
|
||||
const err = endpointLink.find(Alert);
|
||||
expect(err.render().text()).toEqual('Error: Invalid URL');
|
||||
expect(err.render().text()).toEqual('Error: Invalid URL: afdsacas');
|
||||
});
|
||||
|
||||
it('handles params with multiple values correctly', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user