diff options
author | 2021-12-06 16:32:07 -0600 | |
---|---|---|
committer | 2021-12-06 16:32:07 -0600 | |
commit | ddac9777487b14acc24080a70dad78d120ef6d9b (patch) | |
tree | 81d5d3426711561c31bc30c3ac212ff55095f4c0 | |
parent | 77c3fda379b5858a74fa54d278058efaf33fdac5 (diff) | |
download | astro-ddac9777487b14acc24080a70dad78d120ef6d9b.tar.gz astro-ddac9777487b14acc24080a70dad78d120ef6d9b.tar.zst astro-ddac9777487b14acc24080a70dad78d120ef6d9b.zip |
Skip flaky macOS Sass test (#2138)
* test: skip flaky macOS test
* test: skip flaky macOS test
-rw-r--r-- | packages/astro/test/sass.test.js | 5 |
1 files changed, 4 insertions, 1 deletions
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'); }); |