promises.Aplus.js 291 B

123456789101112131415
  1. /**
  2. * Module dependencies.
  3. */
  4. var Promise = require('../lib/promise');
  5. var aplus = require('promises-aplus-tests');
  6. // tests
  7. describe("run A+ suite", function () {
  8. aplus.mocha({
  9. fulfilled: Promise.fulfilled,
  10. rejected: Promise.rejected,
  11. deferred: Promise.deferred
  12. });
  13. });