nepomuc 2025-09-30 14:17:24 +02:00
parent f03f2bf28d
commit 81b324cfa6
4 changed files with 38 additions and 23 deletions

View file

@ -255,10 +255,10 @@ describe('Helper', function () {
); */
});
describe('baseUri', function () {
describe('windowLocationBaseUri', function () {
this.timeout(30000);
jsc.property(
'returns the URL without query & fragment',
'returns the window location URL without query & fragment',
common.jscSchemas(false),
common.jscUrl(),
function (schema, url) {
@ -269,7 +269,7 @@ describe('Helper', function () {
$.PrivateBin.Helper.reset();
const expected = common.urlToString(url),
clean = jsdom('', {url: fullUrl}),
result = $.PrivateBin.Helper.baseUri();
result = $.PrivateBin.Helper.windowLocationBaseUri();
clean();
return expected === result;
}