angular-docs-cn/dev-infra/utils/testing
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
..
BUILD.bazel feat(dev-infra): Set up new common release notes generation tooling (#41905) 2021-05-06 09:40:29 -04:00
index.ts refactor(dev-infra): several code style and typo fixes (#39135) 2020-10-12 10:47:13 -07:00
semver-matchers.ts feat(dev-infra): add shared testing utilities folder with git mock (#38656) 2020-09-28 16:11:41 -04:00
virtual-git-client.ts test(dev-infra): always use same virtual git client instance in publish tests (#42468) 2021-06-03 14:34:33 -07:00
virtual-git-matchers.ts refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00