0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
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;
});
});