Angular Testing

  • TestBed can be used to configure your testing module
    - TestBed has a method “configureTestingModule” that takes in a json object as the specification on how to configure.
    - The sections of the json for configureTestingModule includes imports,providers etc
    - Example configureTestingModule invocation looks as below

--

--

--

On a continuing learning journey..

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

신준 on Twitter: “hi / Twitter”

Chapter 10 Explore When There Is No User Interface

Deploy a prebuilt Next.js app to Vercel

CurrencyExchange CLI

How the batch method from react-redux lifts the dependency of shouldComponentUpdate lifecycle…

Angular Standalone Components

Building the Fastest JS (De)serializer

How to use and customize Material-ui (version 5) with styled components .

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
Learn

Learn

On a continuing learning journey..

More from Medium

Angular and Benefits of Angular

Angular Data binding

Angular forms : a quick simple exaplanation

Data binding in Angular