MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / decodeUrl

Function decodeUrl

lib/utils.js:165–169  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

163}
164
165export const decodeUrl = function (url) {
166 /* Replace forbidden symbols in string
167 */
168 return decodeURIComponent(decodeURIComponent(decodeURIComponent(url)))
169}
170
171export const normalizePath = function (path) {
172 if (path === '' || path === '/') return '/'

Callers 6

seeInCurrentUrlMethod · 0.90
dontSeeInCurrentUrlMethod · 0.90
seeCurrentUrlEqualsMethod · 0.90
waitInUrlMethod · 0.90
waitUrlEqualsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected