diff --git a/tests/strip-unit.spec.scss b/tests/strip-unit.spec.scss new file mode 100644 index 0000000..2748dae --- /dev/null +++ b/tests/strip-unit.spec.scss @@ -0,0 +1,10 @@ +@use 'true'; +@use '../functions' as fn; + +@include true.describe('strip-unit()') { + @include true.it('should return the value without unit') { + @include true.assert-equal( + fn.strip-unit(33rem), 33, + ); + } +}