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

Method run

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

Source from the content-addressed store, hash-verified

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