From 25a29db909587771682f19130b446c84d4911682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Mon, 5 Dec 2022 17:08:02 -0500 Subject: [PATCH] Test file must end with .test.js --- lib/suite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/suite.js b/lib/suite.js index e8f1b79..d2beca1 100644 --- a/lib/suite.js +++ b/lib/suite.js @@ -37,7 +37,7 @@ const suite = async (folder = '.') => { for await (const file of walkDir(folder)) { if (file.includes('node_modules')) continue if (file.startsWith('.git')) continue - if (!file.endsWith('test.js')) continue + if (!file.endsWith('.test.js')) continue const module = join(absolutePath, file) const { test } = await import(module)