UNPKG

qiprofile

Version:

Quantitative Imaging Profile ( QiPr) web application

15 lines (14 loc) 442 B
# Exports the Chai expect function augmented with eventually. # # Example: # expect = require('../helpers/expect')() # expect(promise).to.eventually.exist # # Note: this module is the Protractor version of the unit test # helpers/expect.coffee. It is necessary because Protractor # cannot import requirejs. module.exports = -> chai = require 'chai' chaiAsPromised = require 'chai-as-promised' chai.use(chaiAsPromised) chai.expect