angular-docs-cn/dev-infra/release/publish/test
Paul Gschwendtner 1684b70b88 test(dev-infra): always use same virtual git client instance in publish tests (#42468)
With the recent refactorings to `GitClient`, where singletons
are created and can be retrieved through a static method, the
test has been updated to also install spies for the static methods
of `GitClient`. This commit updates the spy installation so that
the same mock git client is used that is also passed manually to
the release actions. Having two separate instances of the mock
git client could result in false-positive test results.

PR Close #42468
2021-06-03 14:34:33 -07:00
..
release-notes refactor(dev-infra): move the release notes into its own directory under release (#42225) 2021-05-25 18:00:04 +00:00
BUILD.bazel refactor(dev-infra): move the release notes into its own directory under release (#42225) 2021-05-25 18:00:04 +00:00
common.spec.ts feat(dev-infra): add release notes generation to ng-dev (#42225) 2021-05-25 18:00:04 +00:00
configure-next-as-major.spec.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
cut-lts-patch.spec.ts refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
cut-new-patch.spec.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
cut-next-prerelease.spec.ts fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
cut-release-candidate.spec.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
cut-stable.spec.ts feat(dev-infra): publish major versions to "next" NPM dist tag (#42133) 2021-05-18 14:04:14 -07:00
github-api-testing.ts test(dev-infra): add testing for integration of ReleaseNotes in publishing tooling (#41967) 2021-05-14 21:07:27 +00:00
move-next-into-feature-freeze.spec.ts test(dev-infra): add testing for integration of ReleaseNotes in publishing tooling (#41967) 2021-05-14 21:07:27 +00:00
tag-recent-major-as-latest.spec.ts feat(dev-infra): publish major versions to "next" NPM dist tag (#42133) 2021-05-18 14:04:14 -07:00
test-utils.ts test(dev-infra): always use same virtual git client instance in publish tests (#42468) 2021-06-03 14:34:33 -07:00