test(desktop): shipped sidebar defaults now include the preview line
The inbox card's preview ships on, so the default row-meta contract is ['preview', 'updated'] — the reset test pins the new shipped view.
This commit is contained in:
parent
8403595f78
commit
8018f9e016
|
|
@ -19,10 +19,10 @@ beforeEach(() => {
|
|||
})
|
||||
|
||||
describe('the sidebar as it ships', () => {
|
||||
it('groups by date, sorts by recency, and pins the timestamp', () => {
|
||||
it('groups by date, sorts by recency, and pins the timestamp and preview', () => {
|
||||
expect($sidebarGrouping.get()).toBe('date')
|
||||
expect($sidebarOrdering.get()).toBe('updated')
|
||||
expect($sidebarRowMeta.get()).toEqual(['updated'])
|
||||
expect($sidebarRowMeta.get()).toEqual(['preview', 'updated'])
|
||||
})
|
||||
|
||||
it('offers no reset until something actually moves off the defaults', () => {
|
||||
|
|
@ -44,7 +44,7 @@ describe('the sidebar as it ships', () => {
|
|||
|
||||
expect($sidebarGrouping.get()).toBe('date')
|
||||
expect($sidebarOrdering.get()).toBe('updated')
|
||||
expect($sidebarRowMeta.get()).toEqual(['updated'])
|
||||
expect($sidebarRowMeta.get()).toEqual(['preview', 'updated'])
|
||||
expect($sidebarViewCustomized.get()).toBe(false)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue