Skip to content

Commit 5e67a35

Browse files
committed
fix test
1 parent c64a565 commit 5e67a35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ function InvalidUrlError({url, statusCode, statusText}) {
66
this.message = `There was an error retrieving CSS from ${url}.\n\tHTTP status code: ${statusCode} (${statusText})`
77
}
88

9+
InvalidUrlError.prototype = Error.prototype
10+
911
module.exports = async (
1012
url,
1113
{debug = false, waitUntil = 'networkidle2', browserOverride = null} = {}

0 commit comments

Comments
 (0)