Unmock pg

This commit is contained in:
Adria Navarro 2023-09-06 12:51:08 +02:00
parent f476c84bc2
commit 3fe7a9f4cb
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import { databaseTestProviders } from "../../../integrations/tests/utils"
import tk from "timekeeper"
import { outputProcessing } from "../../../utilities/rowProcessor"
import * as setup from "./utilities"
@ -20,7 +22,6 @@ import {
generator,
structures,
} from "@budibase/backend-core/tests"
import { databaseTestProviders } from "../../../integrations/tests/utils"
const timestamp = new Date("2023-01-26T11:48:57.597Z").toISOString()
tk.freeze(timestamp)

View File

@ -1,3 +1,5 @@
jest.unmock("pg")
import { Datasource } from "@budibase/types"
import * as pg from "./postgres"