Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test #328

Merged
merged 1 commit into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/nesting-depth.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('flags warnings with nesting depth', () => {
[
'Expected nesting depth to be no more than 1 (max-nesting-depth)',
'Expected nesting depth to be no more than 1 (max-nesting-depth)',
'Expected ".one .two .three .four" to have no more than 3 compound selectors (selector-max-compound-selectors)',
'Expected ".four" to have no more than 3 compound selectors (selector-max-compound-selectors)',
],
);
});
Expand Down
2 changes: 1 addition & 1 deletion __tests__/selector-depth.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('flags warnings with selector depth', () => {
result.results[0].warnings.map((w) => w.text),
[
'Expected ".one .two .three > .four" to have no more than 3 compound selectors (selector-max-compound-selectors)',
'Expected ".one .two .three > .four" to have no more than 3 compound selectors (selector-max-compound-selectors)'
'Expected ".three > .four" to have no more than 3 compound selectors (selector-max-compound-selectors)'
],
);
});
Expand Down
5 changes: 3 additions & 2 deletions __tests__/valid-scss.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ $spaceaftervariblename: #f00;

// SpaceAroundOperator test
.spacearoundoperator {
margin: 5px + 5px;
padding: 5px + 5px;
margin: 5px + 10px;
padding: 5px + 10px;
}

// SpaceBeforeBrace test
Expand Down Expand Up @@ -346,6 +346,7 @@ $spaceaftervariblename: #f00;
});

it('did not error', () => {
// console.log('result.results[0].warnings', result.results[0].warnings);
assert.equal(result.errored, false);
});

Expand Down
Loading