Skip to content

Commit 9467495

Browse files
NS: Additional code cleanup
1 parent ed72e81 commit 9467495

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/todomvc/components/TodoTextInput.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('TodoTextInput component', () => {
3737

3838
describe('Should behave correctly', () => {
3939
it('Should update value on change', () => {
40-
const {props, component} = setup();
40+
const {component} = setup();
4141

4242
component.find('input').at(0).simulate('change', {target: {value: 'todo'}});
4343
expect(component.find('input').at(0).prop('value')).to.equal('todo')
@@ -55,7 +55,7 @@ describe('TodoTextInput component', () => {
5555
});
5656

5757
it('Should reset state on return key press if isNew', () => {
58-
const {props, component} = setup({isNew: true});
58+
const {component} = setup({isNew: true});
5959

6060
component.find('input').at(0).simulate('keydown', {
6161
which: 13, // RETURN KEY

0 commit comments

Comments
 (0)