Lines Matching refs:shard
212 // --test-shard option validation
213 const args = ['--test', '--test-shard=1', join(testFixtures, 'index.js')];
218 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received '1'/);
224 // --test-shard option validation
225 const args = ['--test', '--test-shard=1/2/3', join(testFixtures, 'index.js')];
230 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received '1\/2\/3'/);
236 // --test-shard option validation
237 const args = ['--test', '--test-shard=0/3', join(testFixtures, 'index.js')];
242 assert.match(child.stderr.toString(), /The value of "options\.shard\.index" is out of range\. It must be >= 1 && <= 3 \("options\.shard\.total"\)\. Received 0/);
248 // --test-shard option validation
249 const args = ['--test', '--test-shard=0xf/20abcd', join(testFixtures, 'index.js')];
254 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received '0xf\/20abcd'/);
260 // --test-shard option validation
261 const args = ['--test', '--test-shard=hello', join(testFixtures, 'index.js')];
266 assert.match(child.stderr.toString(), /The argument '--test-shard' must be in the form of <index>\/<total>\. Received 'hello'/);
272 // --test-shard option, first shard
277 '--test-shard=1/2',
308 // --test-shard option, last shard
313 '--test-shard=2/2',