mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
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
17 lines
473 B
JavaScript
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;
|
|
});
|
|
});
|