Hanselminutes with Scott Hanselman cover image

Getting Started with JavaScript Unit Testing with Jasmine and Rushaine McBean

Hanselminutes with Scott Hanselman

00:00

Hello World Returns the String World

So where would I say like, you know, Hello World returns the string world? Where does that English sentence appear? That particular one will then be in the it block contesting that particular component. So when you get to onto the expect level, now that's actually calling out to your Hello World function. And then it will pass a type of match in this case that contain and see if it actually returns back world.That's a Jasmine ism where it's a method that I use to express my expectation.

Play episode from 11:10
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app