MCPcopy Create free account
hub / github.com/angular/dev-infra / invokePrecheck

Function invokePrecheck

ng-dev/release/precheck/precheck.spec.ts:60–66  ·  view source on GitHub ↗

Invokes the build command handler.

(stdin: ReleasePrecheckJsonStdin)

Source from the content-addressed store, hash-verified

58
59 /** Invokes the build command handler. */
60 async function invokePrecheck(stdin: ReleasePrecheckJsonStdin) {
61 const fakeStdin = Readable.from(Buffer.from(JSON.stringify(stdin)));
62
63 updateStdinGetter(fakeStdin);
64
65 await ReleasePrecheckCommandModule.handler({$0: '', _: []});
66 }
67
68 it('should invoke configured pre-check function', async () => {
69 await invokePrecheck({

Callers 1

precheck.spec.tsFile · 0.85

Calls 2

updateStdinGetterFunction · 0.85
stringifyMethod · 0.45

Tested by

no test coverage detected