How to define a Spec in Jasmine?

Member

cristobal

by cristobal , in category: Technology , 2 months ago

How to define a Spec in Jasmine?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by bailey_conroy , 2 months ago

spec in Jasmine represents a test case inside the test suite. We can define spec by calling the global Jasmine function it, which, like describe takes a string and a function.