Skip to content

Commit

Permalink
WIP: Update to standard test - will remove later
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchAnderson93 committed May 28, 2024
1 parent d14de5b commit b5a8e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/verifyCount.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');

describe('SCSS Properties Count', () => {
it('should verify the total number of SCSS variables (x)', () => {
it('should verify the total number of SCSS variables (91)', () => {
const filePath = path.join(__dirname, '../dist/scss/_variables.scss');
const fileContent = fs.readFileSync(filePath, 'utf8');

Expand All @@ -11,7 +11,7 @@ describe('SCSS Properties Count', () => {
const regex = /\$[a-zA-Z0-9-]+:/g;
const match = fileContent.match(regex);

const expectedPropertyCount = 96; // Example expected count. Adjust this as necessary.
const expectedPropertyCount = 91; // Example expected count. Adjust this as necessary.
expect(match).toHaveLength(expectedPropertyCount);
});
});

0 comments on commit b5a8e56

Please sign in to comment.