tribusjs
Version:
Translate your webapp, site or whatever using JS
23 lines (17 loc) • 682 B
JavaScript
/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
;
// Uncomment the following lines to use the react test utilities
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';
import AlterarIdiomaComponent from 'components/painel/configuracoes/locales/AlterarIdiomaComponent.js';
describe('AlterarIdiomaComponent', () => {
let component;
beforeEach(() => {
component = createComponent(AlterarIdiomaComponent);
});
it('should have its component name as default className', () => {
expect(component.props.className).to.equal('alteraridioma-component');
});
});