Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Jul 18, 2024
commit aaa0f99cd42ae9bb96e1c3176810f819c5447bed
4 changes: 2 additions & 2 deletions lib/internal/test_runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ function run(options = kEmptyObject) {
watch,
setup,
only,
globPatterns
globPatterns,
} = options;

if (files != null) {
Expand All @@ -511,7 +511,7 @@ function run(options = kEmptyObject) {

if (globPatterns?.length > 0 && files?.length > 0) {
throw new ERR_INVALID_ARG_VALUE(
'options.globPatterns', globPatterns, 'is not supported when specifying \'options.files\''
'options.globPatterns', globPatterns, 'is not supported when specifying \'options.files\'',
);
}

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-runner-run-watch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function testWatch({ fileToUpdate, file, action = 'update', cwd = tmpdir.p

action === 'update' && await testUpdate();
action === 'rename' && await testRename();
action === 'rename2' && await testRename2();
action === 'rename2' && await testRename();
action === 'delete' && await testDelete();
}

Expand Down