Respond to PR comments.

This commit is contained in:
Sam Rose 2024-10-30 17:40:15 +00:00
parent 3f62f19fdf
commit e06c0629a0
No known key found for this signature in database
1 changed files with 22 additions and 23 deletions

View File

@ -3730,29 +3730,28 @@ describe.each([
name: "Black Mesa",
})
await config.api.row.save(employees._id!, {
await Promise.all([
config.api.row.save(employees._id!, {
name: "Alice",
age: 25,
company: apertureScience._id,
})
await config.api.row.save(employees._id!, {
}),
config.api.row.save(employees._id!, {
name: "Bob",
age: 30,
company: apertureScience._id,
})
await config.api.row.save(employees._id!, {
}),
config.api.row.save(employees._id!, {
name: "Charly",
age: 27,
company: blackMesa._id,
})
await config.api.row.save(employees._id!, {
}),
config.api.row.save(employees._id!, {
name: "Danny",
age: 15,
company: blackMesa._id,
})
}),
])
const { rows } = await config.api.viewV2.search(view.id, {
query: {},