diff --git a/README.md b/README.md index 0793532..672de9b 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ For it to run correctly, we'll need to initialize a git repository. ```sh git init git add . -git commit -m "Initial commit." +git commit -m "Initial commit" ``` > Note: if you've cloned this repository, you won't have to run the above at all. @@ -408,12 +408,12 @@ import Hello from './Hello'; it('renders the correct text when no enthusiasm level is given', () => { const hello = enzyme.shallow(); - expect(hello.find(".greeting").text()).toEqual('Hello Daniel!') + expect(hello.find(".greeting").text()).toEqual('Hello Daniel!'); }); it('renders the correct text with an explicit enthusiasm of 1', () => { const hello = enzyme.shallow(); - expect(hello.find(".greeting").text()).toEqual('Hello Daniel!') + expect(hello.find(".greeting").text()).toEqual('Hello Daniel!'); }); it('renders the correct text with an explicit enthusiasm level of 5', () => { @@ -656,7 +656,7 @@ export function mapStateToProps({ enthusiasmLevel, languageName }: StoreState) { return { enthusiasmLevel, name: languageName, - } + }; } ``` @@ -670,7 +670,7 @@ export function mapDispatchToProps(dispatch: Dispatch) return { onIncrement: () => dispatch(actions.incrementEnthusiasm()), onDecrement: () => dispatch(actions.decrementEnthusiasm()), - } + }; } ``` @@ -696,14 +696,14 @@ export function mapStateToProps({ enthusiasmLevel, languageName }: StoreState) { return { enthusiasmLevel, name: languageName, - } + }; } export function mapDispatchToProps(dispatch: Dispatch) { return { onIncrement: () => dispatch(actions.incrementEnthusiasm()), onDecrement: () => dispatch(actions.decrementEnthusiasm()), - } + }; } export default connect(mapStateToProps, mapDispatchToProps)(Hello);