From ceacbbf70e6bc6d5edcbb5297ccfcf2078152043 Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Wed, 24 Apr 2024 14:35:44 +0200 Subject: [PATCH] ignore module tests --- src/tests/testRunner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/testRunner.ts b/src/tests/testRunner.ts index 730adc53..5bf830b6 100644 --- a/src/tests/testRunner.ts +++ b/src/tests/testRunner.ts @@ -20,7 +20,7 @@ const getDescribe = (fileName: string): Describe => { } const start = async () => { - const files = await globby("**/*.spec.js") + const files = await globby(["**/*.spec.js", "!**/node_modules/**"]) const modules: { file: string, module: TestModule }[] = [] let devModule = -1 for (const file of files) {