Changelog
Version 2.1.0
calledWithBlock
and calledWithBlockAndArgs
functions to set this up.calledWith
in favor of calledWithArgs
.called
for calls without arguments.imports
and doesNotImport
assertions at the file level for testing entry point files.createFontFace
and doesNotCreateFontFace
for standalone mixins to test creation of a @font-face
rule.createsMediaQuery
and doesNotCreateMediaQuery
for standalone mixins to test creation of a @media
directive.@font-face
rules).Changelog
Version 2.0.0
calledWith
function. Now it is easier to test different arguments of the same mixin/function and is clear when SASS compilation happens (easier to optimize your tests for speed).