astro/packages/integrations/lit/test/sass.test.js
Nate Moore 2fedb97489
Patch Lit server shim to fix sass compatability (#3511)
* fix(#2623, #3508): patch lit server shim to allow sass compat

* chore: add changeset
2022-06-02 14:45:11 -05:00

14 lines
295 B
JavaScript

import { expect } from 'chai';
describe('check', () => {
it('should be able to load sass', async () => {
let error = null;
try {
await import(new URL('../server-shim.js', import.meta.url));
await import('sass');
} catch (e) {
error = e;
}
expect(error).to.be.null;
});
});