Fix types.
This commit is contained in:
parent
7294fef252
commit
e1da9cbfa4
|
@ -13,7 +13,7 @@ import {
|
||||||
TableSourceType,
|
TableSourceType,
|
||||||
User,
|
User,
|
||||||
ViewCalculation,
|
ViewCalculation,
|
||||||
ViewV2,
|
ViewV2Enriched,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import { checkBuilderEndpoint } from "./utilities/TestFunctions"
|
import { checkBuilderEndpoint } from "./utilities/TestFunctions"
|
||||||
import * as setup from "./utilities"
|
import * as setup from "./utilities"
|
||||||
|
@ -311,7 +311,7 @@ describe.each([
|
||||||
expect(table).toBeDefined()
|
expect(table).toBeDefined()
|
||||||
expect(table!.views![viewV2.name]).toBeDefined()
|
expect(table!.views![viewV2.name]).toBeDefined()
|
||||||
|
|
||||||
const expectedViewV2: ViewV2 = {
|
const expectedViewV2: ViewV2Enriched = {
|
||||||
...viewV2,
|
...viewV2,
|
||||||
schema: {
|
schema: {
|
||||||
description: {
|
description: {
|
||||||
|
|
Loading…
Reference in New Issue