fix EndpointLink test

Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
Augustin Husson 2021-09-02 15:31:33 +02:00
parent 242d459685
commit 4f67eb3979

View file

@ -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', () => {