v10.0.0
What's Changed
- BREAKING: Remove the
$inspectoption from assertions, since Sass has improved comparisons and changed inspection. #332 - FEATURE: Multiple
contains()andcontains-string()expectations can be used in a single assertion. #333 - FEATURE: Do not fail on non-standard at-rules (switch to postcss for css parsing). #314
- INTERNAL: Update dependencies
Migration:
It seems that most tests can be updated by simply removing the $inspect argument entirely, with no other changes. In some cases, you may still need one of the following:
- Numeric tests with long decimals should use
math.round()to explicitly compare values at the desired level of precision, rather than relying on the unreliable precision of themeta.inspect()function. - Tests that rely on map output might throw an error since 'maps' are not a defined CSS syntax. In this case you can use
meta.inspect()to compare the string representations of maps.
Full Changelog: v9.0.0...v10.0.0