Remove wrong describe
This commit is contained in:
parent
ff57b982f8
commit
77a004f19a
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue