Skip to content

Commit

Permalink
Merge branch 'main' into auto-detect-sass
Browse files Browse the repository at this point in the history
* main:
  Update tests for Sass changes
  Bump the npm-minor-upgrades group with 8 updates
  • Loading branch information
jgerigmeyer committed Oct 2, 2024
2 parents 51c9e41 + f2c504b commit edbfc63
Show file tree
Hide file tree
Showing 5 changed files with 223 additions and 218 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@types/lodash": "^4.17.7",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@types/lodash": "^4.17.9",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"babel-jest": "^29.7.0",
"chai": "^4.5.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
Expand All @@ -96,15 +96,15 @@
"jest-environment-node-single-context": "^29.4.0",
"mocha": "^10.7.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.45",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"sass": "^1.78.0",
"sass-embedded": "^1.78.0",
"sass": "^1.79.4",
"sass-embedded": "^1.79.4",
"sassdoc": "^2.7.4",
"sassdoc-theme-herman": "^6.0.1",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -119,5 +119,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 edbfc63

Please sign in to comment.