feat(editor): one tab order, vertical Plus list with the error count
This commit is contained in:
1 parent
b41c24b29d
commit
ff21b0315e
11 files changed
+155
-75
No files matched your search
@@ -28,14 +28,10 @@ async function stateOf(text: string) {
|
||||
|
||||
describe('initialTab', () => {
|
||||
it('opens an empty new draft on Général', async () => {
|
||||
expect(initialTab(await stateOf(emptyText()), 'wide')).toBe('general')
|
||||
expect(initialTab(await stateOf(emptyText()))).toBe('general')
|
||||
})
|
||||
|
||||
it('opens a draft with a measured view on Annotations', async () => {
|
||||
expect(initialTab(await stateOf(baseText()), 'wide')).toBe('annotations')
|
||||
})
|
||||
|
||||
it('keeps Annotations on a tier that does not list Général', async () => {
|
||||
expect(initialTab(await stateOf(emptyText()), 'small')).toBe('annotations')
|
||||
expect(initialTab(await stateOf(baseText()))).toBe('annotations')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user