Fixing some issues with test cases.
This commit is contained in:
parent
93e4824549
commit
40dbe52c2e
|
@ -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 = {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue