// 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('styles/reset.less stylesheet snapshot', () => { it('compiled CSS with tokens inlined', async () => { const css = await compileLessWithTokens(join(__dirname, 'reset.less'), DEFAULT_TOKEN_CSS_FILES, { lessPreludes: DEFAULT_LESS_PRELUDES, }); expect(css).toMatchTokensInlineSnapshot(` *, *::before, *::after { box-sizing: border-box; } *::-ms-backdrop { display: block; } html { height: 100%; font-size: 16px; } body { height: 100%; margin: 0; font-family: 'Inter', 'Arial', sans-serif; font-size: 12px; font-weight: 400; line-height: 18px; color: oklch(0 0 none); text-size-adjust: 100%; letter-spacing: 0.1px; -webkit-tap-highlight-color: oklch(0 0 none / 0); } body b, body strong { font-weight: 700; } main { display: block; } p { margin-top: 1em; margin-bottom: 1.5em; } a { color: oklch(0.4749 0.1935 259.9826); text-decoration: none; background-color: transparent; } a:hover { color: oklch(0.5496 0.2249 260.0592); text-decoration: underline; } b, strong { font-weight: bolder; } small { font-size: 0.625rem; } ul, ol { margin-top: 1em; margin-bottom: 1.2em; } table { border-collapse: collapse; } caption { padding-bottom: 0.1em; font-weight: 700; text-align: left; } hr { height: 0; border: none; border-bottom: 1px solid oklch(0.8761 0 none); } img { max-width: 100%; height: auto; vertical-align: top; } button, input, select, textarea { margin: 0; appearance: none; } input, select, textarea { font-family: inherit; font-size: inherit; vertical-align: middle; } button { font-family: inherit; } textarea { overflow: auto; } fieldset { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; } legend { padding: 0; border: 0; } object, param { position: relative; z-index: 1; } iframe { border: 1px solid oklch(0.8761 0 none); } body > iframe { position: absolute; border: 0; } :where(figure) { margin: 0; } `); }); });