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

Method constructor

scripts/parser-tests/utils/parser-test-runner.js:28–44  ·  view source on GitHub ↗
({
    testDir,
    allowlist,
    logInterval = 1,
    shouldUpdate,
    getTests,
    parse = this.parse,
    fileLinkBase = testDir,
  })

Source from the content-addressed store, hash-verified

26
27class TestRunner {
28 constructor({
29 testDir,
30 allowlist,
31 logInterval = 1,
32 shouldUpdate,
33 getTests,
34 parse = this.parse,
35 fileLinkBase = testDir,
36 }) {
37 this.testDir = testDir;
38 this.allowlist = allowlist;
39 this.logInterval = logInterval;
40 this.shouldUpdate = shouldUpdate;
41 this.fileLinkBase = fileLinkBase;
42 this.getTests = getTests;
43 this.parse = parse;
44 }
45
46 async run() {
47 const allowlistP = this.getAllowlist();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected