Fix types.

This commit is contained in:
Sam Rose 2024-04-08 16:11:05 +01:00
parent 7294fef252
commit e1da9cbfa4
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

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