diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 11:11:38 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 13:51:37 -0200 |
commit | 94fc7554995e4b6fcd95e74d082ed411239ea8e9 (patch) | |
tree | 88810c4a44b6c097510b9e29e92b947f07ef9606 /web-ui/test/unit/common/submit_button | |
parent | 16190197f72ea242ae239dc2741e2887c7008dfa (diff) |
[#922] Add semincolon to lint and fix js code
with @tayanefernandes
Diffstat (limited to 'web-ui/test/unit/common/submit_button')
-rw-r--r-- | web-ui/test/unit/common/submit_button/submit_button.spec.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/web-ui/test/unit/common/submit_button/submit_button.spec.js b/web-ui/test/unit/common/submit_button/submit_button.spec.js index 629b3545..8279547c 100644 --- a/web-ui/test/unit/common/submit_button/submit_button.spec.js +++ b/web-ui/test/unit/common/submit_button/submit_button.spec.js @@ -1,16 +1,16 @@ -import { shallow } from 'enzyme' -import expect from 'expect' -import React from 'react' -import SubmitButton from 'src/common/submit_button/submit_button' +import { shallow } from 'enzyme'; +import expect from 'expect'; +import React from 'react'; +import SubmitButton from 'src/common/submit_button/submit_button'; describe('SubmitButton', () => { - let submitButton + let submitButton; beforeEach(() => { - submitButton = shallow(<SubmitButton buttonText="Add Email" />) - }) + submitButton = shallow(<SubmitButton buttonText='Add Email' />); + }); it('renders an input of type submit for add email', () => { - expect(submitButton.find('input[type="submit"]').props().value).toEqual('Add Email') - }) -}) + expect(submitButton.find('input[type="submit"]').props().value).toEqual('Add Email'); + }); +}); |