In CI environments where node_modules is mounted read-only, importFromProject fails because it writes a stub file to node_modules/.cache/ava. When AVA_IMPORT_FROM_PROJECT_NO_STUB=1 is set, use createRequire scoped to the project directory instead, avoiding any file writes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| base.js | ||
| channel.cjs | ||
| completion-handlers.js | ||
| guard-environment.cjs | ||
| line-numbers.js | ||
| main.cjs | ||
| options.cjs | ||
| plugin.cjs | ||
| state.cjs | ||
| utils.cjs | ||