From bc09cb76f178351119bdd56732107f2e382fff39 Mon Sep 17 00:00:00 2001 From: adrinr Date: Fri, 3 Feb 2023 17:55:40 +0000 Subject: [PATCH] Improve row tests --- packages/server/src/api/routes/tests/row.spec.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/api/routes/tests/row.spec.js b/packages/server/src/api/routes/tests/row.spec.js index 740c833eb8..5cbb3d04b4 100644 --- a/packages/server/src/api/routes/tests/row.spec.js +++ b/packages/server/src/api/routes/tests/row.spec.js @@ -25,8 +25,11 @@ describe("/rows", () => { afterAll(setup.afterAll) - beforeEach(async () => { + beforeAll(async () => { await config.init() + }) + + beforeEach(async()=>{ table = await config.createTable() row = basicRow(table._id) })