const PARAM_PATTERN = /(\#|\?)/

export default function parseURL(string) {
  const [urlBase, paramDelimiter = "", paramString = ""] = string.split(PARAM_PATTERN) || []

  const params = paramString
    .split("&")
    .map(chunk => {
      const [key, value] = chunk.split("=")

      return {key, value}
    })

  return {paramDelimiter, params, urlBase}
}

@@ -208,16 +208,57 @@
 it(%22&%22)%0A
+    .filter(chunk =%3E chunk.length !== 0)%0A
     .map

Fix issue where blank params returns malformed array entries.