Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Jun 22, 2020
1 parent 92f9c56 commit 26b4f3c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/reporter/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ class Reporter extends Component<ReporterProps> {
}

componentDidMount () {
const { appState, autoScrollingEnabled, runnablesStore, runner, scroller, statsStore } = this.props
const { appState, isInteractive, autoScrollingEnabled, runnablesStore, runner, scroller, statsStore } = this.props

// It is written here again for test in commands_spec.js
action('set:config:values', () => {
appState.setIsInteractive(isInteractive)
})()

action('set:scrolling', () => {
appState.setAutoScrolling(autoScrollingEnabled)
Expand Down

0 comments on commit 26b4f3c

Please sign in to comment.