Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7860705
reference_field.test.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
521 B
Referenced Files
None
Subscribers
None
reference_field.test.js
View Options
const
locreq
=
require
(
"locreq"
)(
__dirname
);
const
populate
=
require
(
"./populate.js"
);
const
{
with_running_app
}
=
locreq
(
"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
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 13, 18:08 (14 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
872756
Default Alt Text
reference_field.test.js (521 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment