$ cd apps/wiki && npx playwright test tests/atlas.spec.ts # cwd /Users/king/Desktop/Workspace/SRO/zoen # exit 1 ReferenceError: __dirname is not defined in ES module scope at atlas.spec.ts:5 3 | import path from 'node:path'; 4 | > 5 | const EVID = path.resolve(__dirname, '../../../logs/evidence/T020b'); | ^ 6 | fs.mkdirSync(EVID, { recursive: true }); 7 | 8 | const pct = (a: number[], p: number) => { at /Users/king/Desktop/Workspace/SRO/zoen/apps/wiki/tests/atlas.spec.ts:5:27 Error: No tests found. Make sure that arguments are regular expressions matching test files. You may need to escape symbols like "$" or "*" and quote the arguments.