Merge pull request #13643 from Budibase/remove-unneeded-jest-unmock-calls

Remove unnecessary jest.unmock calls.
This commit is contained in:
Sam Rose 2024-05-09 12:24:36 +01:00 committed by GitHub
commit 50ca0d2b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 7 deletions

View File

@ -32,8 +32,6 @@ import * as uuid from "uuid"
const timestamp = new Date("2023-01-26T11:48:57.597Z").toISOString() const timestamp = new Date("2023-01-26T11:48:57.597Z").toISOString()
tk.freeze(timestamp) tk.freeze(timestamp)
jest.unmock("mssql")
describe.each([ describe.each([
["internal", undefined], ["internal", undefined],
[DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)], [DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)],

View File

@ -16,8 +16,6 @@ import {
} from "@budibase/types" } from "@budibase/types"
import _ from "lodash" import _ from "lodash"
jest.unmock("mssql")
describe.each([ describe.each([
["lucene", undefined], ["lucene", undefined],
["sqs", undefined], ["sqs", undefined],

View File

@ -24,8 +24,6 @@ import merge from "lodash/merge"
import { quotas } from "@budibase/pro" import { quotas } from "@budibase/pro"
import { roles } from "@budibase/backend-core" import { roles } from "@budibase/backend-core"
jest.unmock("mssql")
describe.each([ describe.each([
["internal", undefined], ["internal", undefined],
[DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)], [DatabaseName.POSTGRES, getDatasource(DatabaseName.POSTGRES)],

View File

@ -1,5 +1,4 @@
jest.unmock("node-fetch") jest.unmock("node-fetch")
jest.unmock("aws-sdk")
import { TestConfiguration } from "../../../../tests" import { TestConfiguration } from "../../../../tests"
import { EmailTemplatePurpose } from "../../../../constants" import { EmailTemplatePurpose } from "../../../../constants"
import { objectStore } from "@budibase/backend-core" import { objectStore } from "@budibase/backend-core"