From 77a004f19ae6e88e77a03e2e30777c22172e2716 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 24 Jul 2023 16:02:59 +0200 Subject: [PATCH] Remove wrong describe --- .../server/src/sdk/app/views/tests/views.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/server/src/sdk/app/views/tests/views.spec.ts b/packages/server/src/sdk/app/views/tests/views.spec.ts index cbcd98eb91..a40a91943d 100644 --- a/packages/server/src/sdk/app/views/tests/views.spec.ts +++ b/packages/server/src/sdk/app/views/tests/views.spec.ts @@ -1,6 +1,6 @@ import { FieldType, Table, ViewV2 } from "@budibase/types" import { generator } from "@budibase/backend-core/tests" -import { enrichSchema } from ".." +import views from ".." describe("table sdk", () => { describe("enrichViewSchemas", () => { @@ -57,7 +57,7 @@ describe("table sdk", () => { tableId, } - const res = enrichSchema(view, basicTable.schema) + const res = views.enrichSchema(view, basicTable.schema) expect(res).toEqual({ ...view, @@ -116,7 +116,7 @@ describe("table sdk", () => { }, } - const res = enrichSchema(view, basicTable.schema) + const res = views.enrichSchema(view, basicTable.schema) expect(res).toEqual({ ...view, @@ -154,7 +154,7 @@ describe("table sdk", () => { columns: { unnexisting: { visible: true }, name: { visible: true } }, } - const res = enrichSchema(view, basicTable.schema) + const res = views.enrichSchema(view, basicTable.schema) expect(res).toEqual( expect.objectContaining({ @@ -189,7 +189,7 @@ describe("table sdk", () => { }, } - const res = enrichSchema(view, basicTable.schema) + const res = views.enrichSchema(view, basicTable.schema) expect(res).toEqual( expect.objectContaining({ @@ -233,7 +233,7 @@ describe("table sdk", () => { }, } - const res = enrichSchema(view, basicTable.schema) + const res = views.enrichSchema(view, basicTable.schema) expect(res).toEqual( expect.objectContaining({