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", name: "Black Mesa",
}) })
await config.api.row.save(employees._id!, { await Promise.all([
name: "Alice", config.api.row.save(employees._id!, {
age: 25, name: "Alice",
company: apertureScience._id, age: 25,
}) company: apertureScience._id,
}),
await config.api.row.save(employees._id!, { config.api.row.save(employees._id!, {
name: "Bob", name: "Bob",
age: 30, age: 30,
company: apertureScience._id, company: apertureScience._id,
}) }),
config.api.row.save(employees._id!, {
await config.api.row.save(employees._id!, { name: "Charly",
name: "Charly", age: 27,
age: 27, company: blackMesa._id,
company: blackMesa._id, }),
}) config.api.row.save(employees._id!, {
name: "Danny",
await config.api.row.save(employees._id!, { age: 15,
name: "Danny", company: blackMesa._id,
age: 15, }),
company: blackMesa._id, ])
})
const { rows } = await config.api.viewV2.search(view.id, { const { rows } = await config.api.viewV2.search(view.id, {
query: {}, query: {},