Lint
This commit is contained in:
parent
9da9935c95
commit
1024bd1dbf
|
@ -1,5 +1,4 @@
|
||||||
import tk from "timekeeper"
|
import tk from "timekeeper"
|
||||||
tk.freeze(Date.now())
|
|
||||||
|
|
||||||
// Mock out postgres for this
|
// Mock out postgres for this
|
||||||
jest.mock("pg")
|
jest.mock("pg")
|
||||||
|
@ -20,10 +19,13 @@ jest.mock("@budibase/backend-core", () => {
|
||||||
import * as setup from "./utilities"
|
import * as setup from "./utilities"
|
||||||
import { checkBuilderEndpoint } from "./utilities/TestFunctions"
|
import { checkBuilderEndpoint } from "./utilities/TestFunctions"
|
||||||
import { checkCacheForDynamicVariable } from "../../../threads/utils"
|
import { checkCacheForDynamicVariable } from "../../../threads/utils"
|
||||||
|
|
||||||
const { basicQuery, basicDatasource } = setup.structures
|
const { basicQuery, basicDatasource } = setup.structures
|
||||||
import { events, db as dbCore } from "@budibase/backend-core"
|
import { events, db as dbCore } from "@budibase/backend-core"
|
||||||
import { Datasource, Query, SourceName } from "@budibase/types"
|
import { Datasource, Query, SourceName } from "@budibase/types"
|
||||||
|
|
||||||
|
tk.freeze(Date.now())
|
||||||
|
|
||||||
const mockIsProdAppID = dbCore.isProdAppID as jest.MockedFunction<
|
const mockIsProdAppID = dbCore.isProdAppID as jest.MockedFunction<
|
||||||
typeof dbCore.isProdAppID
|
typeof dbCore.isProdAppID
|
||||||
>
|
>
|
||||||
|
|
|
@ -21,9 +21,8 @@ import {
|
||||||
Table,
|
Table,
|
||||||
INTERNAL_TABLE_SOURCE_ID,
|
INTERNAL_TABLE_SOURCE_ID,
|
||||||
TableSourceType,
|
TableSourceType,
|
||||||
AutomationIOType,
|
Query,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import { Query } from "@budibase/types"
|
|
||||||
|
|
||||||
const { BUILTIN_ROLE_IDS } = roles
|
const { BUILTIN_ROLE_IDS } = roles
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue