diff --git a/packages/astro/test/sass.test.js b/packages/astro/test/sass.test.js index 78eb1ecad..b00e12fb4 100644 --- a/packages/astro/test/sass.test.js +++ b/packages/astro/test/sass.test.js @@ -1,4 +1,5 @@ import { expect } from 'chai'; +import os from 'os'; import { loadFixture } from './test-utils.js'; // note: many Sass tests live in 0-css.test.js to test within context of a framework. @@ -16,7 +17,9 @@ describe('Sass', () => { devServer && (await devServer.stop()); }); - it('shows helpful error on failure', async () => { + // TODO: Sass cannot be found on macOS for some reason... Vite issue? + const test = os.platform() === 'darwin' ? it.skip : it; + test('shows helpful error on failure', async () => { const res = await fixture.fetch('/error').then((res) => res.text()); expect(res).to.include('Undefined variable'); });