1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests/unit/services/resize-detector-test.js
Kevin Ansfield 93bd1ce9d7 Remove usage of ember-element-resize-detector
no issue
- fixes babel deprecation warning coming from `ember-element-resize-detector`
- re-created basic `resize-detector` service to wrap `element-resize-detector`
    - import `element-resize-detector` directly from `npm` (includes bump to latest version)
    - drop usage of jQuery selectors
2018-04-30 17:03:29 +01:00

17 lines
473 B
JavaScript

import {describe, it} from 'mocha';
import {expect} from 'chai';
import {setupTest} from 'ember-mocha';
describe('Unit: Service: resize-detector', function () {
setupTest('service:resize-detector', {
// Specify the other units that are required for this test.
// needs: ['service:foo']
});
// Replace this with your real tests.
it('exists', function () {
let service = this.subject();
expect(service).to.be.ok;
});
});