Rangle.io : Angular Training
Search…
Introduction
License
Why Angular?
The Architect's Guide to Angular
EcmaScript 6 and TypeScript Features
The JavaScript Toolchain
Bootstrapping an Angular Application
Components in Angular
Directives
Advanced Components
Observables
Angular Dependency Injection
Http
Change Detection
Zone.js
Advanced Angular
What is Immutability
Pipes
Forms
Modules
Routing
State Management
TDD Testing
The Testing Toolchain
Test Setup
Filename Conventions
Karma Configuration
TestBed Configuration (Optional)
Typings
Executing Test Scripts
Simple Test
Using Chai
Testing Components
Testing Services
Migrating AngularJS Projects to Angular
Project Setup
Angular CLI
Accessibility in Angular
Internationalization in Angular
Glossary
Further Reading And Reference
Powered By GitBook
Typings
Since our project and unit tests are written in TypeScript, we need type definitions for the libraries we'll be writing our tests with (Chai and Jasmine). In angular2-redux-example we have included these type definitions from @types.
If you're following the example of angular2-redux-starter and using a tests.entry file to specify your project testing requirements, bear in mind you'll also need to add node typings to your dependencies.
Previous
TestBed Configuration (Optional)
Next
Executing Test Scripts
Last modified 3yr ago
Copy link