Assertions for any JavaScript test framework and environment
$ cnpm install referee
referee is in your unit tests, deciding who passes and who fails.
It is a test-framework agnostic assertion and expectation library. Some highlights:
Full documentation: docs.busterjs.org/en/latest/modules/referee.
referee works in browsers (including old and rowdy ones, like IE6) and Node.
It will define itself as an AMD module if you want it to (i.e. if there's a
define function available).
1.2.0 (2015-Nov-16)
test method on assertions, returning a promise which is resolved, when assertion passes, and rejected when it fails; relies on a Promise global (shimmable) #91.1.1 (2014-Dec-12)
1.1.0 (2014-Oct-31)
1.0.3 (2014-Apr-30)
npm install - installs dev dependenciesnpm test - runs node testsnpm install - installs dev dependenciesnpm start - starts buster servernpm run-script test-browser - runs browser testsCopyright 2013 - present © cnpmjs.org | Home |