MCPcopy Create free account
hub / github.com/nodejs/node / getInternalExecutionOrder

Function getInternalExecutionOrder

test/parallel/test-runner-cli-randomize.js:20–24  ·  view source on GitHub ↗
(stdout)

Source from the content-addressed store, hash-verified

18}
19
20function getInternalExecutionOrder(stdout) {
21 const match = stdout.match(/EXECUTION_ORDER:([a-e](?:,[a-e])*)/);
22 assert(match, `Missing EXECUTION_ORDER marker in output: ${stdout}`);
23 return match[1].split(',');
24}
25
26describe('test runner randomize flags via command line', () => {
27 it('should be deterministic with --test-random-seed', () => {

Callers 1

Calls 3

matchMethod · 0.65
assertFunction · 0.50
splitMethod · 0.45

Tested by

no test coverage detected