1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Remove wrong describe

This commit is contained in:
Adria Navarro 2023-07-24 16:02:59 +02:00
parent ff57b982f8
commit 77a004f19a

View file

@ -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({