From 92489ef7e679730ac09da75be9dec6108d843168 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 28 Nov 2024 21:27:28 +0100 Subject: [PATCH] Forgot to save all files... --- tests/magick-image/transform-color-space.spec.ts | 6 +++--- tests/profiles/color/color-profile/properties.spec.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/magick-image/transform-color-space.spec.ts b/tests/magick-image/transform-color-space.spec.ts index 2c3bb86..3b916a5 100644 --- a/tests/magick-image/transform-color-space.spec.ts +++ b/tests/magick-image/transform-color-space.spec.ts @@ -8,7 +8,7 @@ import { TestFiles } from '@test/test-files'; describe('MagickImage#transformColorSpace', () => { it('should return false when the image has no color profile', () => { TestFiles.Images.Builtin.logo.use((image) => { - const target = TestFiles.Profiles.Color.sRGB.load(); + const target = TestFiles.Profiles.Color.SRGB.load(); const result = image.transformColorSpace(target); expect(result).toBe(false); }); @@ -25,7 +25,7 @@ describe('MagickImage#transformColorSpace', () => { it('should return false when the source profile color space is different', () => { TestFiles.Images.fujiFilmFinePixS1ProJpg.use((image) => { const source = TestFiles.Profiles.Color.USWebCoatedSWOP.load(); - const target = TestFiles.Profiles.Color.sRGB.load(); + const target = TestFiles.Profiles.Color.SRGB.load(); const result = image.transformColorSpace(source, target); expect(result).toBe(false); }); @@ -33,7 +33,7 @@ describe('MagickImage#transformColorSpace', () => { it('should return true when the the colorspace could be transformed', () => { TestFiles.Images.fujiFilmFinePixS1ProJpg.use((image) => { - const source = TestFiles.Profiles.Color.sRGB.load(); + const source = TestFiles.Profiles.Color.SRGB.load(); const target = TestFiles.Profiles.Color.USWebCoatedSWOP.load(); const result = image.transformColorSpace(source, target); expect(result).toBe(true); diff --git a/tests/profiles/color/color-profile/properties.spec.ts b/tests/profiles/color/color-profile/properties.spec.ts index feb5bbb..3e4f6b8 100644 --- a/tests/profiles/color/color-profile/properties.spec.ts +++ b/tests/profiles/color/color-profile/properties.spec.ts @@ -8,7 +8,7 @@ import { TestFiles } from '@test/test-files'; describe('ColorProfile#properties', () => { it('should return the correct values for an sRGB profile', () => { - const colorProfile = TestFiles.Profiles.Color.sRGB.load(); + const colorProfile = TestFiles.Profiles.Color.SRGB.load(); expect(colorProfile.name).toBe('icm'); expect(colorProfile.data.length).toBe(3144);