Fixing some issues with test cases.

This commit is contained in:
mike12345567 2024-05-20 18:22:46 +01:00
parent 93e4824549
commit 40dbe52c2e
2 changed files with 8 additions and 4 deletions

View File

@ -1,12 +1,14 @@
import { SqlClient } from "../utils"
import Sql from "../base/sql"
import { import {
FieldType, FieldType,
Operation, Operation,
QueryJson, QueryJson,
Table, Table,
TableSourceType, TableSourceType,
SqlClient,
} from "@budibase/types" } from "@budibase/types"
import { sql } from "@budibase/backend-core"
const Sql = sql.Sql
const TABLE_NAME = "test" const TABLE_NAME = "test"
const TABLE: Table = { const TABLE: Table = {

View File

@ -6,13 +6,15 @@ import {
SqlQuery, SqlQuery,
Table, Table,
TableSourceType, TableSourceType,
SqlClient,
} from "@budibase/types" } from "@budibase/types"
import { sql } from "@budibase/backend-core"
import { join } from "path" import { join } from "path"
import Sql from "../base/sql"
import { SqlClient } from "../utils"
import { generator } from "@budibase/backend-core/tests" import { generator } from "@budibase/backend-core/tests"
import sdk from "../../sdk" import sdk from "../../sdk"
const Sql = sql.Sql
// this doesn't exist strictly // this doesn't exist strictly
const TABLE: Table = { const TABLE: Table = {
type: "table", type: "table",