codi-test-framework
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "codi-test-framework", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A simple test framework for JavaScript", | ||
@@ -11,3 +11,3 @@ "main": "src/testRunner.js", | ||
"scripts": { | ||
"test": "node src/index.js" | ||
"test": "node cli tests" | ||
}, | ||
@@ -14,0 +14,0 @@ "keywords": [ |
@@ -68,3 +68,3 @@ import fs from 'fs'; | ||
// Read all files in the test directory | ||
const testFiles = fs.readdirSync(testDirectory).filter(file => file.endsWith('.mjs')); | ||
const testFiles = fs.readdirSync(testDirectory, { recursive: true }).filter(file => file.endsWith('.mjs')); | ||
@@ -71,0 +71,0 @@ // Run each test file |
4081