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…
Reference in New Issue