Skip to content

Commit

Permalink
Merge pull request #5658 from brave/storage-test-fix
Browse files Browse the repository at this point in the history
fixes new_tab_storage_test
  • Loading branch information
ryanml authored May 26, 2020
2 parents 6047b1d + 5849030 commit 83ac688
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/test/brave_new_tab_ui/storage/new_tab_storage_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('new tab storage', () => {
const expectedState = {
...defaultState,
currentStackWidget: '',
widgetStackOrder: ['together'],
widgetStackOrder: [],
removedStackWidgets: ['rewards', 'binance']
}
expect(migrateStackWidgetSettings(initialState)).toEqual(expectedState)
Expand All @@ -34,7 +34,7 @@ describe('new tab storage', () => {
...defaultState,
showRewards: true,
currentStackWidget: '',
widgetStackOrder: ['together', 'rewards'],
widgetStackOrder: ['rewards'],
removedStackWidgets: ['binance']
}
expect(migrateStackWidgetSettings(initialState)).toEqual(expectedState)
Expand All @@ -50,7 +50,7 @@ describe('new tab storage', () => {
...defaultState,
showBinance: true,
currentStackWidget: '',
widgetStackOrder: ['together', 'binance'],
widgetStackOrder: ['binance'],
removedStackWidgets: ['rewards']
}
expect(migrateStackWidgetSettings(initialState)).toEqual(expectedState)
Expand All @@ -68,7 +68,7 @@ describe('new tab storage', () => {
showBinance: true,
showRewards: true,
currentStackWidget: '',
widgetStackOrder: ['together', 'rewards', 'binance'],
widgetStackOrder: ['rewards', 'binance'],
removedStackWidgets: []
}
expect(migrateStackWidgetSettings(initialState)).toEqual(expectedState)
Expand All @@ -86,7 +86,7 @@ describe('new tab storage', () => {
showBinance: true,
showRewards: true,
currentStackWidget: '',
widgetStackOrder: ['together', 'binance', 'rewards'],
widgetStackOrder: ['binance', 'rewards'],
removedStackWidgets: []
}
expect(migrateStackWidgetSettings(initialState)).toEqual(expectedState)
Expand Down

0 comments on commit 83ac688

Please sign in to comment.