mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
16 lines
382 B
TypeScript
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();
|
|
});
|