Skip to content

Commit

Permalink
chore(url): accomodate updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Oct 1, 2021
1 parent f95a5b4 commit d30d448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/url/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ test('url :: exports', () => {
});

test('url :: invalid inputs', () => {
assert.throws(parse, /Cannot read property/, 'throws if no input');
assert.throws(parse, /Cannot read prop/);

assert.is(
// @ts-ignore
parse({ /* empty */ }),
Expand Down

0 comments on commit d30d448

Please sign in to comment.