diff options
author | 2022-06-02 14:45:11 -0500 | |
---|---|---|
committer | 2022-06-02 14:45:11 -0500 | |
commit | 2fedb974899b37a8d9ddabc476764a6d35d1e446 (patch) | |
tree | 610213f78c40af83a530a84d2f5ee14b134672ec /packages/integrations/lit/test/sass.test.js | |
parent | a74cf98002a23aa7de0e383f49ef4170f951e99f (diff) | |
download | astro-2fedb974899b37a8d9ddabc476764a6d35d1e446.tar.gz astro-2fedb974899b37a8d9ddabc476764a6d35d1e446.tar.zst astro-2fedb974899b37a8d9ddabc476764a6d35d1e446.zip |
Patch Lit server shim to fix sass compatability (#3511)
* fix(#2623, #3508): patch lit server shim to allow sass compat
* chore: add changeset
Diffstat (limited to 'packages/integrations/lit/test/sass.test.js')
-rw-r--r-- | packages/integrations/lit/test/sass.test.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/integrations/lit/test/sass.test.js b/packages/integrations/lit/test/sass.test.js new file mode 100644 index 000000000..9bc039db6 --- /dev/null +++ b/packages/integrations/lit/test/sass.test.js @@ -0,0 +1,14 @@ +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; + }); +}); |