sophiabrandt / angular-unit-tests-with-inject-function

This repository shows possibilities on how to write unit test with Angular's inject function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository showcases approaches for unit tests in Angular.

That are those kinds of tests where the class under test is instantiated manually and gets its dependencies not via the constructor but via the inject function, which was introduced in Angular 14.

About

This repository shows possibilities on how to write unit test with Angular's inject function


Languages

Language:TypeScript 66.1%Language:JavaScript 19.8%Language:HTML 7.6%Language:SCSS 6.5%