Files
bun.sh/test/integration/sass/sass.test.ts
2024-10-10 02:35:23 -07:00

16 lines
382 B
TypeScript

import { compileString } from "sass";
test("sass source maps", () => {
const scssString = `.ruleGroup {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.5rem;
border-width: 1px;
}
`;
expect(compileString(scssString, { sourceMap: false })).toMatchSnapshot();
expect(compileString(scssString, { sourceMap: true })).toMatchSnapshot();
});