From 036ed41fe6d89bb56b09fc372a3e1ff564648724 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, 20 Nov 2023 17:11:01 +0900 Subject: [PATCH] lint --- .../experimental-lightningcss.test.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 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 148dcd0162f23..5f925e71fb017 100644 --- a/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts +++ b/test/development/app-dir/experimental-lightningcss/experimental-lightningcss.test.ts @@ -7,13 +7,15 @@ createNextDescribe( }, ({ next }) => { // Recommended for tests that check HTML. Cheerio is a HTML parser that has a jQuery like API. - ;(process.env.TURBOPACK ? it : it.skip)( - 'should support css modules', - async () => { - const $ = await next.render$('/') - expect($('p').text()).toBe('hello world') - // swc_css does not include `-module` in the class name, while lightningcss does. - expect($('p').attr('class')).toBe('style-module__hlQ3RG__blue') + ;(process.env.TURBOPACK ? describe : describe.skip)( + 'with it enabled', + () => { + it('should support css modules', async () => { + const $ = await next.render$('/') + expect($('p').text()).toBe('hello world') + // swc_css does not include `-module` in the class name, while lightningcss does. + expect($('p').attr('class')).toBe('style-module__hlQ3RG__blue') + }) } ) }