Skip to content

Commit

Permalink
Merge pull request brave#9603 from NejcZdovc/hotfix/site-unittest
Browse files Browse the repository at this point in the history
Fixes unit test for siteSettingsReducer
  • Loading branch information
NejcZdovc authored Jun 20, 2017
2 parents 3db05b2 + 087f7d0 commit f44726d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unit/app/browser/reducers/sitesReducerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ describe('sitesReducerTest', function () {
describe('APP_ON_CLEAR_BROWSING_DATA', function () {
before(function () {
this.action = {
actionType: appConstants.APP_ON_CLEAR_BROWSING_DATA,
clearDataDetail: {browserHistory: true}
actionType: appConstants.APP_ON_CLEAR_BROWSING_DATA
}
const newState = initState.setIn(['tempClearBrowsingData', 'browserHistory'], true)
const newState = initState.setIn(['clearBrowsingDataDefaults', 'browserHistory'], true)
this.clearHistory = sinon.stub(this.fakeFiltering, 'clearHistory')
this.state = sitesReducer(newState, this.action, makeImmutable(this.action))
})
Expand Down

0 comments on commit f44726d

Please sign in to comment.