From b41981e043d2b88f4b2c8a991e65a0fa35c9fa0c Mon Sep 17 00:00:00 2001 From: Ido Rosenthal Date: Thu, 28 Sep 2023 19:23:17 +0300 Subject: [PATCH] fix: broken test --- packages/core/test/stylable-transformer/global.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/test/stylable-transformer/global.spec.ts b/packages/core/test/stylable-transformer/global.spec.ts index 734cf4d7a6..32e4e2bcb9 100644 --- a/packages/core/test/stylable-transformer/global.spec.ts +++ b/packages/core/test/stylable-transformer/global.spec.ts @@ -13,7 +13,7 @@ describe('Stylable postcss transform (Global)', () => { @st-import [test] from './imported.st.css'; .root {} .test {} - .x { -st-global: '.a .b'; } + .x { -st-global: '.a.b'; } :global(.c .d) {} :global(.e) {} `, @@ -38,7 +38,7 @@ describe('Stylable postcss transform (Global)', () => { e: true, }); expect((meta.targetAst!.nodes[1] as postcss.Rule).selector).to.equal('.global-test'); - expect((meta.targetAst!.nodes[2] as postcss.Rule).selector).to.equal('.a .b'); + expect((meta.targetAst!.nodes[2] as postcss.Rule).selector).to.equal('.a.b'); expect((meta.targetAst!.nodes[3] as postcss.Rule).selector).to.equal('.c .d'); expect((meta.targetAst!.nodes[4] as postcss.Rule).selector).to.equal('.e'); });