Writing a Sample Test

Learn how to write tests using Jasmine and Karma and explore Jasmine syntax and Karma setup.

Jasmine first test with Karma

This first test is just here to introduce Jasmine and Karma, not to be any useful test. This is Jasmine, using ES6 syntax, mostly the arrows:

Get hands-on with 1200+ tech skills courses.