// 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/Toolbar/Toolbar.less stylesheet snapshot', () => { it('compiled CSS with tokens inlined', async () => { const css = await compileLessWithTokens(join(__dirname, 'Toolbar.less'), DEFAULT_TOKEN_CSS_FILES, { lessPreludes: DEFAULT_LESS_PRELUDES, }); expect(css).toMatchTokensInlineSnapshot(` .toolbar { overflow-x: auto; display: flex; flex-direction: row; gap: 8px; align-items: center; padding: 0 8px; } .toolbar--vertical { overflow-x: unset; overflow-y: auto; flex-direction: column; gap: 0; padding: 8px 0; } .toolbarGroup { display: flex; flex-direction: row; gap: 0; align-items: center; } `); }); });