If your tests aren't working as you expect them to, you can inspect and debug them in the browser.
For the sample app that the testing guides describe, see the sample app.
For the tests features in the testing guides, see tests.
Debug specs in the browser in the same way that you debug an application.
Ctrl-Shift-I
on Windows; Command-Option-I
in macOS).1st.spec.ts
test file (Control/Command-P, then start typing the name of the file).
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/guide/test-debugging