Skip to content

Commit 92ad7e4

Browse files
committed
Fix indentation
Added badges to readme
1 parent 35aba45 commit 92ad7e4

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# React Toastify Redux
1+
# React Toastify Redux [![Build Status](https://travis-ci.org/fayster/react-toastify-redux.svg?branch=develop)](https://travis-ci.org/fayster/react-toastify-redux) [![npm version](https://badge.fury.io/js/react-toastify-redux.svg)](https://badge.fury.io/js/react-toastify-redux) [![npm](https://img.shields.io/npm/dm/react-toastify-redux.svg)](https://github.com/fayster/react-toastify-redux) [![Coverage Status](https://coveralls.io/repos/github/fayster/react-toastify-redux/badge.svg?branch=develop)](https://coveralls.io/github/fayster/react-toastify-redux?branch=master)
2+
3+
4+
25
Wraps [react-toastify](https://github.com/fkhadra/react-toastify) into a component and exposes actions and reducer.
36

47
## Installation

src/__tests__/container.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('container', () => {
3232

3333
beforeEach(() => {
3434
dismiss.mockClear();
35-
wrapper = mount(<ToastContainer toastList={toastList} dismiss={dismiss} />);
35+
wrapper = mount(<ToastContainer toastList={toastList} dismiss={dismiss}/>);
3636
});
3737

3838
afterEach(() => {
@@ -209,7 +209,7 @@ describe('container', () => {
209209
store = mockStore(initialState);
210210
providerWrapper = mount(
211211
<Provider store={store}>
212-
<ConnectedToastContainer />
212+
<ConnectedToastContainer/>
213213
</Provider>
214214
);
215215
});

src/__tests__/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ describe('compare', () => {
1111
});
1212

1313
it('Should return false, with call not equal objects', () => {
14-
const other = {...value, hello: 'world' };
14+
const other = {...value, hello: 'world'};
1515

1616
expect(compare(value, other)).toBeFalsy();
1717
});
1818

1919
it('Should return false, with call equal nested objects', () => {
20-
const anotherValue = {...value, bar: { foo: 'foobar' }};
21-
const other = {...value, bar: { foo: 'foobar' }};
20+
const anotherValue = {...value, bar: {foo: 'foobar'}};
21+
const other = {...value, bar: {foo: 'foobar'}};
2222

2323
expect(compare(anotherValue, other)).toBeFalsy();
2424
});

0 commit comments

Comments
 (0)