diff --git a/packages/url/test/index.js b/packages/url/test/index.js index 0036b38..81eebde 100644 --- a/packages/url/test/index.js +++ b/packages/url/test/index.js @@ -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 */ }),