Where can I get documents for the spec files


I have searched in the document website but get nothing interesting.

  • What does the something-spec.coffee do?
  • What is the functions such as describe beforeEach waitsForPromise?

I’m reading some packages’ source code to learn how to write a package.


They are Jasmine specs:


I don’t recall which version of Jasmine they are, but that should get you started.


It’s Jasmine version – you can find out by launching the spec runner with Ctrl-Option-Command-P, opening the console with Option-Command-I, and running something like jasmine.version_.


Thank you all! I’ve got what I want.