From 6fd30d91eabcfdeebc701430bdce168e0c3bca28 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 9 Mar 2021 16:35:34 -0700 Subject: [PATCH] feat: add jest e2e config --- test/jest.e2e.config.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/jest.e2e.config.ts diff --git a/test/jest.e2e.config.ts b/test/jest.e2e.config.ts new file mode 100644 index 000000000..01f9b6073 --- /dev/null +++ b/test/jest.e2e.config.ts @@ -0,0 +1,22 @@ +// jest.config.ts +import type { Config } from "@jest/types" + +const config: Config.InitialOptions = { + transform: { + "^.+\\.ts$": "/node_modules/ts-jest", + }, + globalSetup: "/utils/globalSetup.ts", + testEnvironment: "node", + testPathIgnorePatterns: ["node_modules", "lib", "out", "test/unit"], + testTimeout: 30000, + modulePathIgnorePatterns: [ + "/../lib/vscode", + "/../release-packages", + "/../release", + "/../release-standalone", + "/../release-npm-package", + "/../release-gcp", + "/../release-images", + ], +} +export default config