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)