John Cowen cb0c5309c9 UI: Add EventSource ready for implementing blocking queries (#5070)
- Maintain http headers as JSON-API meta for all API requests (#4946)
- Add EventSource ready for implementing blocking queries
- EventSource project implementation to enable blocking queries for service and node listings (#5267)
- Add setting to enable/disable blocking queries (#5352)
2019-05-01 18:22:06 +00:00

14 lines
493 B
JavaScript

import domEventTargetRsvp from 'consul-ui/utils/dom/event-target/rsvp';
import { module, test } from 'qunit';
module('Unit | Utility | dom/event-target/rsvp');
// Replace this with your real tests.
test('it has EventTarget methods', function(assert) {
const result = domEventTargetRsvp;
assert.equal(typeof result, 'function');
['addEventListener', 'removeEventListener', 'dispatchEvent'].forEach(function(item) {
assert.equal(typeof result.prototype[item], 'function');
});
});