// Execute all unit/core specs via minimal harness
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
import { report } from '../tests/unit/core/_harness.mjs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const coreDir = path.join(__dirname,'..','tests','unit','core');
import { pathToFileURL } from 'url';
for(const f of fs.readdirSync(coreDir)){
if(f.endsWith('.spec.mjs') && f!=='smoke.spec.mjs'){
const filePath = path.join(coreDir,f);
await import(pathToFileURL(filePath).href);
}
}
report();