You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/01-writing-tests.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ AVA tries to run test files with their current working directory set to the dire
10
10
11
11
## Test isolation
12
12
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)).
14
14
15
15
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`.
0 commit comments