Skip to content

Spider monkey

Steve Gravrock edited this page Mar 21, 2021 · 3 revisions

The Wiki pages are deprecated! Please check jasmine.github.io for documentation.

jasmine on Spider Monkey (Memo)

 // bootstrap.js
 load('/path/to/env.js');
 load('/path/to/jasmine.js');
 ...
  • Specs is implemented.
// example.js
load('/path/to/bootstrap.js');
load('/path/to/Player.js');
load('/path/to/PlayerSpec.js');

jasmine.getEnv().addReporter(...);
jasmine.getEnv().execute();

(note) jasmine.TrivialReporter can not be used as the reporter class.