diff --git a/packages/backend-core/jest.config.ts b/packages/backend-core/jest.config.ts index 8d64b24a2f..52d042dbac 100644 --- a/packages/backend-core/jest.config.ts +++ b/packages/backend-core/jest.config.ts @@ -1,8 +1,6 @@ import { Config } from "@jest/types" -const preset = require("ts-jest/jest-preset") const baseConfig: Config.InitialProjectOptions = { - ...preset, preset: "@trendyol/jest-testcontainers", setupFiles: ["./tests/jestEnv.ts"], setupFilesAfterEnv: ["./tests/jestSetup.ts"], diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index a1a7bd35b6..f2c6399ef4 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -23,7 +23,6 @@ "@budibase/nano": "10.1.2", "@budibase/pouchdb-replication-stream": "1.2.10", "@budibase/types": "0.0.0", - "@shopify/jest-koa-mocks": "5.1.1", "@techpass/passport-openidconnect": "0.3.2", "aws-cloudfront-sign": "2.2.0", "aws-sdk": "2.1030.0", @@ -59,6 +58,7 @@ }, "devDependencies": { "@jest/test-sequencer": "29.6.1", + "@shopify/jest-koa-mocks": "5.1.1", "@swc/core": "^1.3.25", "@swc/jest": "^0.2.27", "@trendyol/jest-testcontainers": "^2.1.1", @@ -83,7 +83,6 @@ "pino-pretty": "10.0.0", "pouchdb-adapter-memory": "7.2.2", "timekeeper": "2.2.0", - "ts-jest": "29.1.1", "ts-node": "10.8.1", "tsconfig-paths": "4.0.0", "typescript": "4.7.3"