Clean code

This commit is contained in:
Adria Navarro 2023-07-19 11:38:49 +02:00
parent b29e54e84c
commit fcd0db8f57
1 changed files with 2 additions and 1 deletions

View File

@ -711,8 +711,9 @@ describe("/rows", () => {
it("returns table rows from view", async () => { it("returns table rows from view", async () => {
const table = await config.createTable(priceTable()) const table = await config.createTable(priceTable())
const rows = [] const rows = []
for (let i = 0; i < 10; i++) for (let i = 0; i < 10; i++) {
rows.push(await config.createRow({ tableId: table._id })) rows.push(await config.createRow({ tableId: table._id }))
}
const createViewResponse = await config.api.viewV2.create() const createViewResponse = await config.api.viewV2.create()