angular-docs-cn/dev-infra/release/publish
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
..
actions refactor(dev-infra): move the release notes into its own directory under release (#42225) 2021-05-25 18:00:04 +00:00
test test(dev-infra): always use same virtual git client instance in publish tests (#42468) 2021-06-03 14:34:33 -07: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
actions-error.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
actions.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
cli.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
commit-message.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
constants.ts refactor(dev-infra): move the release notes into its own directory under release (#42225) 2021-05-25 18:00:04 +00:00
external-commands.ts refactor(dev-infra): improve type safety of NPM dist tags in release tool (#42133) 2021-05-18 14:04:14 -07:00
graphql-queries.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
index.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00
pull-request-state.ts refactor(dev-infra): improve type-safety of git client utility (#42468) 2021-06-03 14:34:33 -07:00