Skip to content

Commit 171ab1e

Browse files
committed
Fix linting errors
1 parent 2b14d3a commit 171ab1e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

test/assertions/toDispatchActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('assertions', () => {
2121
expect.restoreSpies();
2222
});
2323

24-
it('should be function', () => { expect(toDispatchActions).toBeA('function');});
24+
it('should be function', () => { expect(toDispatchActions).toBeA('function'); });
2525

2626
it('should call toDispatchActionsWithState with initialState', () => {
2727
toDispatchActions(actualAction, expectedAction, spyDone, spyFail);

test/chai/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('chai', () => {
1919

2020
it('should accept function', (done) => {
2121
expect(actions.actionCreatorWithGetState())
22-
.with.state(() => { return { property: 'value' };})
22+
.with.state(() => { return { property: 'value' }; })
2323
.to.dispatch.actions(actions.actionWithGetState({ property: 'value' }), done);
2424
});
2525
});
@@ -57,7 +57,7 @@ describe('chai', () => {
5757

5858
it('should accept function', (done) => {
5959
actions.actionCreatorWithGetState().should
60-
.with.state(() => { return { property: 'value' };})
60+
.with.state(() => { return { property: 'value' }; })
6161
.dispatch.actions(actions.actionWithGetState({ property: 'value' }), done);
6262
});
6363
});
@@ -100,7 +100,7 @@ describe('chai', () => {
100100
assert.isDispatchingWithState(
101101
actions.actionCreatorWithGetState(),
102102
actions.actionWithGetState({ property: 'value' }),
103-
() => { return { property: 'value' };},
103+
() => { return { property: 'value' }; },
104104
done
105105
);
106106
});

test/expect/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('expect', () => {
1717

1818
it('should accept function', (done) => {
1919
expect(actions.actionCreatorWithGetState())
20-
.withState(() => { return { property: 'value' };})
20+
.withState(() => { return { property: 'value' }; })
2121
.toDispatchActions(actions.actionWithGetState({ property: 'value' }), done);
2222
});
2323
});

test/expectjs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('expect.js', () => {
1717

1818
it('should accept function', (done) => {
1919
expect(actions.actionCreatorWithGetState())
20-
.withState(() => { return { property: 'value' };})
20+
.withState(() => { return { property: 'value' }; })
2121
.to.dispatchActions(actions.actionWithGetState({ property: 'value' }), done);
2222
});
2323
});

test/should/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ describe('should', () => {
1717

1818
it('should accept function', (done) => {
1919
should(actions.actionCreatorWithGetState())
20-
.withState(() => { return { property: 'value' };})
20+
.withState(() => { return { property: 'value' }; })
2121
.dispatchActions(actions.actionWithGetState({ property: 'value' }), done);
2222
});
2323

2424
it('should work with .should', (done) => {
2525
actions.actionCreatorWithGetState().should
26-
.withState(() => { return { property: 'value' };})
26+
.withState(() => { return { property: 'value' }; })
2727
.dispatchActions(actions.actionWithGetState({ property: 'value' }), done);
2828
});
2929

3030
it('should have alias .state', (done) => {
3131
should(actions.actionCreatorWithGetState())
32-
.with.state(() => { return { property: 'value' };})
32+
.with.state(() => { return { property: 'value' }; })
3333
.dispatchActions(actions.actionWithGetState({ property: 'value' }), done);
3434
});
3535
});

0 commit comments

Comments
 (0)