Skip to content

Commit

Permalink
js/packages/binderhub-client/lib/index.test.js: encode / in test
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Oct 12, 2023
1 parent 628de25 commit b93f4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/packages/binderhub-client/tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ test("Get full redirect URL and deal with query and encoded query (with pathType
.getFullRedirectURL(
"https://hub.test-binder.org/user/something/",
"token",
"endpoint?a=1/2&b=3%3F%2F",
"endpoint?a=1%2F2&b=3%3F%2F",
"url",
)
.toString(),
).toBe(
"https://hub.test-binder.org/user/something/endpoint?a=1/2&b=3%3F%2F&token=token",
"https://hub.test-binder.org/user/something/endpoint?a=1%2F2&b=3%3F%2F&token=token",
);
});

0 comments on commit b93f4e0

Please sign in to comment.