(relativePath)
| 7 | const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..', '..'); |
| 8 | |
| 9 | function readText(relativePath) { |
| 10 | return fs.readFileSync(path.join(root, relativePath), 'utf8'); |
| 11 | } |
| 12 | |
| 13 | function readJson(relativePath) { |
| 14 | return JSON.parse(readText(relativePath)); |
no test coverage detected