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

Method constructor

ng-dev/release/publish/test/common.spec.ts:679–691  ·  view source on GitHub ↗
(
    releaseConfig: ReleaseConfig,
    version: semver.SemVer,
    commits: CommitFromGitLog[],
    git: GitClient,
  )

Source from the content-addressed store, hash-verified

677 branchName,
678 'BEFORE_STAGING_SHA',
679 'latest',
680 ),
681 ).toBeRejectedWithError(FatalReleaseActionError);
682
683 expect(uploadManifestSpy).not.toHaveBeenCalled();
684 expect(capturedTempDir).toBeDefined();
685 expect(existsSync(capturedTempDir!)).toBe(false);
686 expect(logErrorSpy).toHaveBeenCalledWith(jasmine.stringContaining('[REDACTED]'));
687 for (const callArgs of logErrorSpy.calls.allArgs()) {
688 expect(callArgs.map(String).join(' ')).not.toContain('fake-adc-token');
689 }
690 });
691
692 it('should capture release notes in release entry', async () => {
693 const {repo, instance, githubConfig, builtPackagesWithInfo} = setupReleaseActionForTesting(
694 DelegateTestAction,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected