@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
12 lines (9 loc) • 308 B
text/typescript
import { HEADER_ICON_SIZE } from './layoutTokens';
describe('HEADER_ICON_SIZE', () => {
it('mobile', () => {
expect(HEADER_ICON_SIZE(true)).toEqual({ blockSize: 36, fontSize: 22 });
});
it('desktop', () => {
expect(HEADER_ICON_SIZE(false)).toEqual({ blockSize: 32, fontSize: 20 });
});
});