MCPcopy Index your code
hub / github.com/angular/dev-infra / withInitialCommit

Method withInitialCommit

ng-dev/utils/testing/sandbox-testing.ts:27–29  ·  view source on GitHub ↗
(github: GithubConfig)

Source from the content-addressed store, hash-verified

25 private _commitShaById = new Map<number, string>();
26
27 static withInitialCommit(github: GithubConfig) {
28 return new SandboxGitRepo(github).commit('feat(pkg1): initial commit');
29 }
30
31 protected constructor(private _github: GithubConfig) {
32 runGitInTmpDir(['init']);

Calls 1

commitMethod · 0.80

Tested by

no test coverage detected