diff --git a/package.json b/package.json index 28ff7f66..c5f32a5f 100644 --- a/package.json +++ b/package.json @@ -147,6 +147,12 @@ "/release" ], "testTimeout": 30000, - "globalSetup": "/test/globalSetup.ts" + "globalSetup": "/test/globalSetup.ts", + "modulePathIgnorePatterns": [ + "/lib/vscode", + "/release-packages", + "/release", + "/release-standalone" + ] } } diff --git a/test/globalSetup.ts b/test/globalSetup.ts index 4904c0c3..daaf7921 100644 --- a/test/globalSetup.ts +++ b/test/globalSetup.ts @@ -4,6 +4,8 @@ import { chromium, Page, Browser, BrowserContext } from "playwright" module.exports = async () => { + console.log("🚨 Running Global Setup for Jest Tests") + console.log(" Please hang tight...") const browser: Browser = await chromium.launch() const context: BrowserContext = await browser.newContext() const page: Page = await context.newPage() @@ -22,4 +24,5 @@ module.exports = async () => { await page.close() await browser.close() await context.close() + console.log("✅ Global Setup for Jest Tests is now complete.") }