Skip to content

Commit

Permalink
Update tests for Sass changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Oct 1, 2024
1 parent 628f071 commit cec7b42
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 115 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@
"sassDir": "./sass/",
"exports": false
},
"packageManager": "yarn@4.4.1"
"packageManager": "yarn@4.5.0"
}
11 changes: 4 additions & 7 deletions test/css/test.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/scss/assert/_values.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

@include it('Rounded colors with $inspect') {
$origin: #246;
$expected: #356a9f;
$expected: rgb(53.125, 106.25, 159.375);

@include assert-equal(
color.adjust($origin, $lightness: 15%),
Expand Down
9 changes: 0 additions & 9 deletions test/scss/data/_details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@
@include assert-equal(details.edgefail-notes(math.div(1, 3), 0.3333333333), $message);
}

@include it('Color rounding') {
$message: '- Details: colors may need to be rounded before comparison (set `$inspect: true` to compare output values)';

@include assert-equal(
details.edgefail-notes(color.adjust(#246, $lightness: 15%), #356a9f),
$message
);
}

@include it('List Separators') {
$message: '- Details: list-separators do not match';

Expand Down
Loading

0 comments on commit cec7b42

Please sign in to comment.