MCPcopy Create free account
hub / github.com/babel/babel / run

Method run

scripts/parser-tests/utils/parser-test-runner.js:44–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 async run() {
45 const allowlistP = this.getAllowlist();
46
47 console.log(`Now running tests...`);
48
49 const results = [];
50 for await (const result of this.runTests()) {
51 results.push(result);
52 if (results.length % this.logInterval === 0) process.stdout.write(dot);
53 }
54 process.stdout.write("\n");
55
56 const summary = this.interpret(results, await allowlistP);
57
58 await this.output(summary);
59 }
60
61 async *runTests() {
62 for await (const test of this.getTests()) {

Callers 3

index.jsFile · 0.45
index.jsFile · 0.45
index.jsFile · 0.45

Calls 6

getAllowlistMethod · 0.95
runTestsMethod · 0.95
interpretMethod · 0.95
outputMethod · 0.95
pushMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected