Skip to content

Commit e5b355d

Browse files
Link to CLI options to clarify how to run tests in separate processes
Co-authored-by: Mark Wubben <[email protected]>
1 parent 86185b4 commit e5b355d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/01-writing-tests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AVA tries to run test files with their current working directory set to the dire
1010

1111
## Test isolation
1212

13-
By default each test file is run in a new worker thread. You can fall back running in separate processes.
13+
By default each test file is run in a new worker thread. You can fall back running in separate processes (see `workerThreads` [CLI option](./06-configuration.md#options)).
1414

1515
AVA will set `process.env.NODE_ENV` to `test`, unless the `NODE_ENV` environment variable has been set. This is useful if the code you're testing has test defaults (for example when picking what database to connect to). It may cause your code or its dependencies to behave differently though. Note that `'NODE_ENV' in process.env` will always be `true`.
1616

0 commit comments

Comments
 (0)