ava/lib/worker
Philip Peterson 1cdd70679e Add AVA_IMPORT_FROM_PROJECT_NO_STUB env var for read-only node_modules
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>
2026-05-03 02:56:25 -07:00
..
base.js Add AVA_IMPORT_FROM_PROJECT_NO_STUB env var for read-only node_modules 2026-05-03 02:56:25 -07:00
channel.cjs Keep test worker alive until explicitly freed 2025-07-12 14:35:51 +02:00
completion-handlers.js Implement registerCompletionHandler() 2024-01-11 22:33:57 +00:00
guard-environment.cjs Update dependencies and such 2023-01-15 21:33:33 +01:00
line-numbers.js Merge branch 'v4-hotfix' 2022-08-26 14:49:12 +02:00
main.cjs Update XO & other dependencies 2025-06-06 22:45:31 +02:00
options.cjs Switch to ESM for internals 2021-06-06 15:39:52 +02:00
plugin.cjs Update XO & other dependencies 2025-06-06 22:45:31 +02:00
state.cjs Implement registerCompletionHandler() 2024-01-11 22:33:57 +00:00
utils.cjs Update dependencies and such 2023-01-15 21:33:33 +01:00