Skip to content

Commit 641b277

Browse files
committed
Merge pull request reduxjs#568 from existentialism/typos
Fix typo and use property shorthand in test example
2 parents 4672cef + dfe10d0 commit 641b277

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/recipes/WritingTests.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,9 @@ function setup() {
199199
let output = renderer.getRenderOutput();
200200

201201
return {
202-
props: props,
203-
output: output,
204-
renderer: renderer
202+
props,
203+
output,
204+
renderer
205205
};
206206
}
207207

@@ -225,7 +225,7 @@ describe('components', () => {
225225
expect(input.props.placeholder).toBe('What needs to be done?');
226226
});
227227

228-
it('should call call addTodo if length of text is greater than 0', () => {
228+
it('should call addTodo if length of text is greater than 0', () => {
229229
const { output, props } = setup();
230230
let input = output.props.children[1];
231231
input.props.onSave('');

0 commit comments

Comments
 (0)