Explore all newline lessons
lesson
How to Mock MongDB for Angular End-to-End Unit TestsThe newline Guide to Angular UniversalThis lesson is going to show you how to mock your data-source - MongoDB - for the E2E tests purpose. Thanks to using mongo-unit you will be able to perform actions that changes data in your DB, during E2E testing.
lesson
Build Angular End-to-End Unit Tests With TransferStateThe newline Guide to Angular UniversalIn this lesson you will learn how you can verify the TransferState registry content in your E2E tests.
lesson
How to Unit Test Server-Side Services in Angular KarmaThe newline Guide to Angular UniversalLast but not least of your unit tests, should be to verify the server-specific services. In this lesson you will learn how to enforce Karma to run tests against code that includes server-specific objects and libraries.
lesson
How to Unit Test Slow API Calls in AngularThe newline Guide to Angular UniversalNext step is to simulate a long-running API and verify how server-side Angular deals with it. This lesson will demonstrate you how to do that.