Page MenuHomeSealhub

reference_field.test.js
No OneTemporary

reference_field.test.js

const populate = require("./populate.js");
const { with_running_app } = require("../../test_utils/with-test-app.js");
describe("Reference field stress test", () => {
it("returns requested items when using run_action", async () =>
with_running_app(async ({ app, rest_api }) => {
await populate(app);
console.time("Time elapsed");
await rest_api.get(
"/api/v1/collections/seals?attachments[water_area][type]=true"
);
console.timeEnd("Time elapsed");
}));
});

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 20, 14:28 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
924632
Default Alt Text
reference_field.test.js (483 B)

Event Timeline