MCPcopy Index your code
hub / github.com/subquery/subql / testingInit

Function testingInit

packages/node/src/subcommands/testing.init.ts:9–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8const logger = getLogger('Testing');
9export async function testingInit(): Promise<void> {
10 try {
11 const { nodeConfig, project } = await ConfigureModule.getInstance();
12
13 const testingService = new TestingService(nodeConfig, project);
14 await testingService.run();
15 } catch (e) {
16 exitWithError(new Error('Testing failed', { cause: e }), logger);
17 }
18 process.exit(0);
19}

Callers 1

yargs.tsFile · 0.85

Calls 3

exitWithErrorFunction · 0.90
getInstanceMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected