From 49e21ea81789bf3caa0f1556233704abdd57cc0a Mon Sep 17 00:00:00 2001 From: Aliullov Vlad Date: Wed, 11 Dec 2024 11:28:05 +0400 Subject: [PATCH] add test for (T1265287) --- .../tests/modules/bootstrap-extractor.test.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/devextreme-themebuilder/tests/modules/bootstrap-extractor.test.ts b/packages/devextreme-themebuilder/tests/modules/bootstrap-extractor.test.ts index bd0c843c9b40..f238300def70 100644 --- a/packages/devextreme-themebuilder/tests/modules/bootstrap-extractor.test.ts +++ b/packages/devextreme-themebuilder/tests/modules/bootstrap-extractor.test.ts @@ -37,9 +37,12 @@ describe('BootstrapExtractor', () => { extractor.getSetterServiceCode = (): string => setterServiceCode; extractor.getCollectorServiceCode = (): string => collectorServiceCode; - expect(await extractor.sassProcessor()) - .toBe(`${functions.toString()} -${extractor.getVariables(variables.toString())} + const result = await extractor.sassProcessor(); + + expect(result.includes('@import "variables-dark";')).toBeFalsy(); + + expect(result).toBe(`${functions.toString()} +${variables.toString()} ${variablesDark.toString()} ${testSassString} ${setterServiceCode}