(
releaseConfig: ReleaseConfig,
version: semver.SemVer,
commits: CommitFromGitLog[],
git: GitClient,
)
| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected