mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
fix EndpointLink test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
242d459685
commit
4f67eb3979
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue