Changelog
4.0.0 (04/09/18)
node-sass
to peerDependencies
Changelog
3.1.0 (03/06/18)
contains()
mixin for more minute output comparisons.
Works the same as expect()
, but doesn't require a complete match.Changelog
3.0.0-beta.1 (6/1/17)
describe
and it
mixins,
as alias for test-module
and test
respectively.$inspect
argument to assert-equal
and assert-unequal
mixins,
for comparing inspect($assert) == inspect($expected)
instead of $assert == $expected
.
This helps with several of the equality edge-cases listed below
(rounding and units).1/3 != 0.333333
and lighten(#246, 15%) != #356a9f
.
Use the $inspect
argument to compare rounded output values.1 == 1x
where x
represents any unit.
Use the $inspect
argument to compare output values with units.(one two three) != (one, two, three)
.
This can be particularly confusing for single-item lists,
which still have a delimiter assigned,
even though it is not used.Changelog
2.2.2 (4/11/17)
assert-true
returns false on empty strings and listsassert-false
returns true on empty strings and listsChangelog
2.2.1 (2/7/17)
$fail-on-error
argument to report()
mixin.
Set to true
if you need the Sass compiler to fail
on broken tests.assert-false
causing it to fail on null
values.Changelog
2.1.4 (12/22/16)