Use the new API introduced in https://github.com/testing-library/angular-testing-library/pull/465 for the examples.