Fix trailing slash on uploads URL

This commit is contained in:
Koen Vlaswinkel
2024-05-13 16:31:17 +02:00
parent 90e315a7a8
commit 24766fcf56
6 changed files with 19 additions and 6 deletions

View File

@@ -177,7 +177,7 @@ async function mockHttpRequests(databaseUploadStatusCode) {
}, (0, testing_utils_1.getRecordingLogger)(loggedMessages));
t.assert(loggedMessages.find((v) => v.type === "debug" &&
v.message === "Successfully uploaded database for javascript") !== undefined);
t.assert(databaseUploadSpy.calledOnceWith(sinon.match.string, sinon.match.has("baseUrl", "https://uploads.tenant.ghe.com/")));
t.assert(databaseUploadSpy.calledOnceWith(sinon.match.string, sinon.match.has("baseUrl", "https://uploads.tenant.ghe.com")));
});
});
//# sourceMappingURL=database-upload.test.js.map