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

Method run

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

Source from the content-addressed store, hash-verified

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