From cc472e4f71e8279f8bcdbbbfabc74b68bc3e2b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 11 Mar 2024 15:04:27 +0900 Subject: [PATCH] Update jest snapshot --- .../experimental-lightningcss.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts b/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts index e398faca0901e..b339220457350 100644 --- a/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts +++ b/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts @@ -12,7 +12,7 @@ describeVariants.each(['turbo'])('experimental-lightningcss', () => { expect($('p').text()).toBe('hello world') // swc_css does not include `-module` in the class name, while lightningcss does. expect($('p').attr('class')).toBe( - 'search-keyword style-module__hlQ3RG__blue' + 'search-keyword blue__style-module__hlQ3RG' ) }) }) @@ -34,7 +34,7 @@ describeVariants.each(['default'])( // Recommended for tests that check HTML. Cheerio is a HTML parser that has a jQuery like API. const $ = await next.render$('/') expect($('p').text()).toBe('hello world') - // We remove hash frmo the class name in test mode using env var because it is not deterministic. + // We remove hash from the class name in test mode using env var because it is not deterministic. expect($('p').attr('class')).toBe('search-keyword style-module__blue') })