How to define a Spec in Jasmine?

by cristobal , in category: Technology , a year ago

How to define a Spec in Jasmine?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by bailey_conroy , a year 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.