Ghost/ghost/admin/tests/unit/services/limit-test.js
Naz 40cedb84ff Added integration with limit service
refs https://github.com/TryGhost/Team/issues/587

- This is first pass on the frontend limit-service integration. Max count queries are substituted with HTTP requests to mimick backend checks. Note, they are not meant to substitute backend checks only to suplment them.
2021-04-08 16:59:56 +12:00

18 lines
374 B
JavaScript

import {describe, it} from 'mocha';
import {expect} from 'chai';
import {setupTest} from 'ember-mocha';
describe('Unit | Service | limit', function () {
setupTest();
let limitService;
beforeEach(function () {
limitService = this.owner.lookup('service:limit');
});
it('exists', function () {
expect(limitService).to.be.ok;
});
});