feat: integrate dodo brand logo
This commit is contained in:
@@ -1100,6 +1100,12 @@ describe('sidebar information hierarchy', () => {
|
||||
expect(app).toContain('class="mini-icon list-create-trigger" aria-label="新建清单或文件夹"')
|
||||
expect(app).not.toContain('aria-label="新建文件夹" @click="createFolder"')
|
||||
expect(css).toContain('.brand-row{height:64px;')
|
||||
expect(app).toContain('class="brand brand-lockup"')
|
||||
expect(app).toContain('class="brand small brand-lockup"')
|
||||
expect(app.match(/src="\/dodo-logo\.svg"/g)).toHaveLength(2)
|
||||
expect(css).toContain('.brand-logo{width:42px;height:42px;')
|
||||
expect(css).toContain('.brand.small .brand-logo{width:32px;height:32px}')
|
||||
expect(css).not.toContain('.brand span{color:var(--accent)}')
|
||||
expect(css).toContain('.primary-nav button.active::before,.list-row.active::before,.sidebar-management button.active::before{')
|
||||
expect(css).toContain('width:3px;')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user