ember-cli-page-object
Version:
This ember-cli addon eases the construction of page objects on your acceptance and integration tests
16 lines (12 loc) • 319 B
JavaScript
// Map `jquery` from the app to an amd module called `-jquery` for internal usage
(function() {
function vendorModule() {
'use strict';
var jq = self.jQuery;
if (!jq) {
throw new Error('Unable to find jQuery');
}
return { 'default': jq };
}
define('-jquery', [], vendorModule);
})();