diff --git a/js-api-spec/value/color/color-4-conversions.test.ts b/js-api-spec/value/color/color-4-conversions.test.ts index 66a91f98a..13dd0dc3f 100644 --- a/js-api-spec/value/color/color-4-conversions.test.ts +++ b/js-api-spec/value/color/color-4-conversions.test.ts @@ -47,7 +47,7 @@ describe('Color 4 SassColors Conversions', () => { // https://github.com/LeaVerou/color.js/pull/338 skipForImpl('sass-embedded', () => { // TODO: Failing in dart-sass because `hue` should be normalized to the - // [0, 360] range + // [0, 360) range skipForImpl('dart-sass', () => { describe('interpolate', () => { it('interpolates examples', () => { diff --git a/js-api-spec/value/color/color-4-nonparametizable.test.ts b/js-api-spec/value/color/color-4-nonparametizable.test.ts index be0d6428c..9c8169754 100644 --- a/js-api-spec/value/color/color-4-nonparametizable.test.ts +++ b/js-api-spec/value/color/color-4-nonparametizable.test.ts @@ -18,6 +18,7 @@ import * as constructors from './constructors'; describe('Color 4 SassColors Non-parametizable', () => { // TODO: Waiting on a fix for: // https://github.com/LeaVerou/color.js/issues/154 + // PR: https://github.com/LeaVerou/color.js/pull/344 skipForImpl('sass-embedded', () => { it('toGamut with space', () => { const cases: [SassColor, KnownColorSpace, SassColor][] = [ diff --git a/js-api-spec/value/color/legacy.test.ts b/js-api-spec/value/color/legacy.test.ts index cf2c63f6d..b07e420fc 100644 --- a/js-api-spec/value/color/legacy.test.ts +++ b/js-api-spec/value/color/legacy.test.ts @@ -464,8 +464,10 @@ describe('Legacy SassColor', () => { color.change({blue: null}); color.change({alpha: null}); }); - expect(stdio.err.match(/\[null-alpha\]/g)).toBeArrayOfSize(1); - expect(stdio.err.match(/color-4-api/g)).toBeArrayOfSize(3); + expect(stdio.err.match(/`alpha: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`red: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`green: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`blue: null`/g)).toBeArrayOfSize(1); }); it('emits deprecation for channels from unspecified space', () => { const stdio = captureStdio(() => { @@ -535,8 +537,10 @@ describe('Legacy SassColor', () => { color.change({lightness: null}); color.change({alpha: null}); }); - expect(stdio.err.match(/\[null-alpha\]/g)).toBeArrayOfSize(1); - expect(stdio.err.match(/color-4-api/g)).toBeArrayOfSize(3); + expect(stdio.err.match(/`alpha: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`hue: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`saturation: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`lightness: null`/g)).toBeArrayOfSize(1); }); it('emits deprecation for channels from unspecified space', () => { const stdio = captureStdio(() => { @@ -602,8 +606,10 @@ describe('Legacy SassColor', () => { color.change({blackness: null}); color.change({alpha: null}); }); - expect(stdio.err.match(/\[null-alpha\]/g)).toBeArrayOfSize(1); - expect(stdio.err.match(/color-4-api/g)).toBeArrayOfSize(3); + expect(stdio.err.match(/`alpha: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`hue: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`whiteness: null`/g)).toBeArrayOfSize(1); + expect(stdio.err.match(/`blackness: null`/g)).toBeArrayOfSize(1); }); it('emits deprecation for channels from unspecified space', () => { const stdio = captureStdio(() => {