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