We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc4cde commit bc31375Copy full SHA for bc31375
doc/api/test.md
@@ -1142,6 +1142,11 @@ changes:
1142
of shards to split the test files to. This option is _required_.
1143
* Returns: {TestsStream}
1144
1145
+**Note:** `shard` is used to horizontally parallelize test running across
1146
+machines or processes, ideal for large-scale executions across varied
1147
+environments. It's incompatible with `watch` mode, tailored for rapid
1148
+code iteration by automatically rerunning tests on file changes.
1149
+
1150
```mjs
1151
import { tap } from 'node:test/reporters';
1152
import { run } from 'node:test';
0 commit comments