Showing results for "mock"
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
How to Mock PLATFORM_ID Value for Angular Unit TestingThe newline Guide to Angular UniversalHow to verify your application behavior in different environments? In this lesson you will get to know how you can stub the PLATFORM_ID injection token and HTTP request, for tests purpose.
lesson
Mocking the Dialog in StorybookFullstack Web ComponentsYou'll mock the DialogComponent in Storybook.
lesson
Mocking Table Data in StorybookFullstack Web ComponentsHow to use mock data in Storybook to code Web Components.