Files
piratepoet/tests/javascript/newsletter_editor/components/config.spec.js
Jan Jakeš e95e7d3b4c Remove unused imports
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00

15 lines
380 B
JavaScript

const expect = global.expect;
import ConfigComponent from 'newsletter_editor/components/config';
describe('Config', function () {
it('loads and stores configuration', function () {
var model;
ConfigComponent.setConfig({
testConfig: 'testValue'
});
model = ConfigComponent.getConfig();
expect(model.get('testConfig')).to.equal('testValue');
});
});