Image for post
Image for post
Photo from State Library of Queensland: digital image collection

Introduction

This is the second part of a series of articles about a case study for a web app implemented using Redux and Angular. The project follows the architecture depicted on a previous article, but reading that article before this one is not necessary.

For easy referencing, here are the articles in the series :

This project’s web app is an online test (or quiz) which, although functional, is simplified as it only serves as subject for this case study. The project is complete on my repository and these articles focus on the implementation of the business logic using Redux on an Angular web app. …


Image for post
Image for post
Photo credit: Phillips Academy, Andover via VisualHunt / CC BY-NC-SA

Introduction

This is the first part of a series of articles about a case study for a web app implemented using Redux and Angular. In this article, there is no dependency on Angular, it applies wherever you find Redux. The project follows the architecture depicted on a previous article, but reading that article before this one is not necessary.

For easy referencing, here are the other articles in the series :

This project’s web app is an online test (or quiz) which, although functional, is simplified as it only serves as subject for this case…


Image for post
Image for post

The problem

I’ve found two main approaches when unit testing observables behavior in javascript:

The Zone.js fakeAsync() intercepts the asynchronous javascript features allowing for control of time. …

About

José Proença

Frontend developer. Lego crazy. Photography lover. Always learning. Remote worker.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store