Test file must end with .test.js
parent
32ac96adc5
commit
25a29db909
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue