Skip to content

Commit

Permalink
tests: remove a duplicate test (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillDanshin authored and adampash committed Jul 3, 2019
1 parent 713de25 commit 592f175
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/mercury.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 592f175

Please sign in to comment.