// Auto-generated by: pnpm test:stylesheets:update import { join } from 'node:path'; import { compileLessWithTokens } from '../../../scripts/testStylesheets/compileLessWithTokens'; import { DEFAULT_LESS_PRELUDES, DEFAULT_TOKEN_CSS_FILES } from '../../../scripts/testStylesheets/config'; describe('components/PerexBox/PerexBox.less stylesheet snapshot', () => { it('compiled CSS with tokens inlined', async () => { const css = await compileLessWithTokens(join(__dirname, 'PerexBox.less'), DEFAULT_TOKEN_CSS_FILES, { lessPreludes: DEFAULT_LESS_PRELUDES, }); expect(css).toMatchTokensInlineSnapshot(` .perexBox { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; width: 100%; margin-bottom: 16px; padding: 24px 16px; font-family: 'Inter', 'Arial', sans-serif; font-size: 12px; font-weight: 400; line-height: 1.5; color: oklch(0 0 none); letter-spacing: 0.1px; background-color: oklch(0.9496 0.0283 234.8404); } .perexBox .perexBox__content { width: 100%; } .perexBox .perexBox__image { flex-shrink: 1; max-width: 120px; max-height: 45px; } .perexBox .perexBox__image img { width: auto; max-width: 120px; height: 45px; max-height: 45px; object-fit: contain; } .stack > .perexBox { margin-bottom: 0; } @media only screen and (min-width: 992px) { .perexBox { flex-direction: row; gap: 48px; align-items: center; justify-content: space-between; } } `); }); });