From c90ce9751c7862a7280e752549ef74298669693d Mon Sep 17 00:00:00 2001 From: ocavue Date: Thu, 4 Jun 2026 22:22:32 +1000 Subject: [PATCH] refactor: use hex color in CSS test (#16970) --- packages/astro/test/css-path-case.test.ts | 2 +- .../astro/test/fixtures/css-path-case/src/pages/index.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/test/css-path-case.test.ts b/packages/astro/test/css-path-case.test.ts index e7885e41f628..a282a77a6291 100644 --- a/packages/astro/test/css-path-case.test.ts +++ b/packages/astro/test/css-path-case.test.ts @@ -74,7 +74,7 @@ describe('CSS scoped styles with a case-mismatched project root', { it('injects the scoped style into the page (issue #14013)', () => { const injectedStyles = $('style').text().replace(/\s/g, ''); assert.equal( - injectedStyles.includes('color:rgb(255,165,0)'), + injectedStyles.includes('color:#123456'), true, 'expected the scoped