Skip to content

Commit 7b4e162

Browse files
committed
Reformat to make VS Code less annoying
1 parent d3a2bf5 commit 7b4e162

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/components/connect.spec.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,14 +1218,13 @@ describe('React', () => {
12181218
const store = createStore(() => ({}))
12191219

12201220
function makeContainer(mapState, mapDispatch, mergeProps) {
1221-
return React.createElement(
1222-
@connect(mapState, mapDispatch, mergeProps)
1223-
class Container extends Component {
1224-
render() {
1225-
return <Passthrough />
1226-
}
1221+
@connect(mapState, mapDispatch, mergeProps)
1222+
class Container extends Component {
1223+
render() {
1224+
return <Passthrough />
12271225
}
1228-
)
1226+
}
1227+
return React.createElement(Container)
12291228
}
12301229

12311230
function AwesomeMap() { }

0 commit comments

Comments
 (0)