// 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/RatingsOverview/RatingsOverview.less stylesheet snapshot', () => { it('compiled CSS with tokens inlined', async () => { const css = await compileLessWithTokens(join(__dirname, 'RatingsOverview.less'), DEFAULT_TOKEN_CSS_FILES, { lessPreludes: DEFAULT_LESS_PRELUDES, }); expect(css).toMatchTokensInlineSnapshot(` .ratingsOverview--sentimentPositive::before { color: oklch(0.6007 0.1894 139.0123); } .ratingsOverview--sentimentNeutral::before { color: oklch(0.7251 0.1625 65.1153); } .ratingsOverview--sentimentNegative::before { color: oklch(0.5999 0.246 28.9803); } .ratingsOverview--button { cursor: pointer; padding: 0; background-color: transparent; border-color: transparent; border-style: solid; border-width: 1px; } `); }); });