Skip to content

Commit

Permalink
WIP. check test
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDayForSurf committed Dec 23, 2024
1 parent d791d30 commit ee556f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme-themebuilder/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
}],
},
testMatch: [
'**/tests/**/*.test.ts',
'**/tests/**/builder.test.ts',
],
coverageThreshold: {
global: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const buildTimeout = 150000;
const normalizeCss = (css: string): string => css
.toLowerCase()
.replace(/\s*\/\*[\s\S]*?\*\/\s*/g, '')
.replace(/\s+/g, '')
.trim();

function findDifference(str1: string, str2: string) {
Expand Down Expand Up @@ -47,7 +46,7 @@ describe('Builder integration tests', () => {
const themeBuilderCss = normalizeCss(result.css);
const cssPath = path.resolve(__dirname, '../../../devextreme/artifacts/css/dx.light.css');
const distributionCss = normalizeCss(readFileSync(cssPath, 'utf8'));
console.log('----findDifference------>', findDifference(themeBuilderCss,distributionCss));

expect(themeBuilderCss).toBe(distributionCss);
});
}, buildTimeout);
Expand Down

0 comments on commit ee556f8

Please sign in to comment.