Skip to content

Commit 9918e0d

Browse files
authored
docs: update old VITE_NODE_DEPS_MODULE_DIRECTORIES references (#9654)
1 parent 7c10305 commit 9918e0d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ And re-run `pnpm install` to link the package.
6767
Add a `.npmrc` file with following line next to the `package.json`:
6868

6969
```sh
70-
VITE_NODE_DEPS_MODULE_DIRECTORIES=/node_modules/,/packages/
70+
VITEST_MODULE_DIRECTORIES=/node_modules/,/packages/
7171
```
7272

7373
## Pull Request Guidelines

test/config/test/exec-args.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('should not pass execArgv to workers when not specified in the config', asy
4040
nodeOptions: {
4141
cwd: `${process.cwd()}/fixtures/no-exec-args-fixtures`,
4242
env: {
43-
VITE_NODE_DEPS_MODULE_DIRECTORIES: '/node_modules/,/packages/',
43+
VITEST_MODULE_DIRECTORIES: '/node_modules/,/packages/',
4444
NO_COLOR: '1',
4545
},
4646
},
@@ -63,7 +63,7 @@ test('should let allowed args pass to workers', async () => {
6363
nodeOptions: {
6464
cwd: `${process.cwd()}/fixtures/allowed-exec-args-fixtures`,
6565
env: {
66-
VITE_NODE_DEPS_MODULE_DIRECTORIES: '/node_modules/,/packages/',
66+
VITEST_MODULE_DIRECTORIES: '/node_modules/,/packages/',
6767
NO_COLOR: '1',
6868
},
6969
},

0 commit comments

Comments
 (0)