7ce9ee0db6
There's a chance this function can be called with a path that is not a string. To catch that, we check if path is of a different type and throw an error if it is. This also adds a couple tests for this function. |
||
---|---|---|
.. | ||
browser | ||
node | ||
routes | ||
test-plugin | ||
cli.test.ts | ||
constants.test.ts | ||
emitter.test.ts | ||
helpers.test.ts | ||
http.test.ts | ||
plugin.test.ts | ||
proxy.test.ts | ||
register.test.ts | ||
serviceWorker.test.ts | ||
socket.test.ts | ||
update.test.ts | ||
util.test.ts |