diff --git a/packages/server/src/integrations/tests/sql.spec.ts b/packages/server/src/integrations/tests/sql.spec.ts index 5de9cc4fbc..64bbaffb96 100644 --- a/packages/server/src/integrations/tests/sql.spec.ts +++ b/packages/server/src/integrations/tests/sql.spec.ts @@ -1,12 +1,14 @@ -import { SqlClient } from "../utils" -import Sql from "../base/sql" import { FieldType, Operation, QueryJson, Table, TableSourceType, + SqlClient, } from "@budibase/types" +import { sql } from "@budibase/backend-core" + +const Sql = sql.Sql const TABLE_NAME = "test" const TABLE: Table = { diff --git a/packages/server/src/integrations/tests/sqlAlias.spec.ts b/packages/server/src/integrations/tests/sqlAlias.spec.ts index fda2a091fa..8b7ac0e947 100644 --- a/packages/server/src/integrations/tests/sqlAlias.spec.ts +++ b/packages/server/src/integrations/tests/sqlAlias.spec.ts @@ -6,13 +6,15 @@ import { SqlQuery, Table, TableSourceType, + SqlClient, } from "@budibase/types" +import { sql } from "@budibase/backend-core" import { join } from "path" -import Sql from "../base/sql" -import { SqlClient } from "../utils" import { generator } from "@budibase/backend-core/tests" import sdk from "../../sdk" +const Sql = sql.Sql + // this doesn't exist strictly const TABLE: Table = { type: "table",