Added some features :D, Codex limits are burned out by GPT 6 Astra D:
This commit is contained in:
@@ -49,6 +49,9 @@ test("contributions can contain one panorama, while new maps still need five", (
|
||||
);
|
||||
});
|
||||
test("clients cannot choose other uploads' media or claim server-assigned provenance", () => {
|
||||
const mapPath = `${root}/maps/${child}.webp`;
|
||||
assert.equal(datasetSchema.parse({ ...manifest, mapPath }).mapPath, mapPath);
|
||||
assert.throws(() => parseUploadManifest({ ...manifest, mapPath }));
|
||||
for (const field of ["assetRoot", "assetId", "contributorId", "source"])
|
||||
assert.throws(() =>
|
||||
parseUploadManifest({
|
||||
|
||||
Reference in New Issue
Block a user