From 592f175270cd9a46fffd3804dda701a921a82e12 Mon Sep 17 00:00:00 2001 From: Kirill Danshin Date: Wed, 3 Jul 2019 19:30:10 +0300 Subject: [PATCH] tests: remove a duplicate test (#448) --- src/mercury.test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/mercury.test.js b/src/mercury.test.js index 6a68859a9..e6f04d1de 100644 --- a/src/mercury.test.js +++ b/src/mercury.test.js @@ -17,12 +17,6 @@ describe('Mercury', () => { assert(/does not look like a valid URL/i.test(error.message)); }); - it('returns an error if a bad url is passed', async () => { - const error = await Mercury.parse('foo.com'); - - assert(/does not look like a valid URL/i.test(error.message)); - }); - it('does the whole thing', async () => { const result = await Mercury.parse( 'http://deadspin.com/remember-when-donald-trump-got-booed-for-butchering-ta-1788216229'