We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d015d commit e14f661Copy full SHA for e14f661
doc/api/test.md
@@ -1161,6 +1161,11 @@ changes:
1161
of shards to split the test files to. This option is _required_.
1162
* Returns: {TestsStream}
1163
1164
+**Note:** `shard` is used to horizontally parallelize test running across
1165
+machines or processes, ideal for large-scale executions across varied
1166
+environments. It's incompatible with `watch` mode, tailored for rapid
1167
+code iteration by automatically rerunning tests on file changes.
1168
+
1169
```mjs
1170
import { tap } from 'node:test/reporters';
1171
import { run } from 'node:test';
0 commit comments