1
0
Fork 0
mirror of synced 2024-08-14 17:42:01 +12:00

Clean code

This commit is contained in:
Adria Navarro 2023-07-19 11:38:49 +02:00
parent b29e54e84c
commit fcd0db8f57

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()