Skip to content

Commit

Permalink
test(strip-unit): add test
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Aug 7, 2022
1 parent 7002e1e commit d3d5321
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/strip-unit.spec.scss
Original file line number Diff line number Diff line change
@@ -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,
);
}
}

0 comments on commit d3d5321

Please sign in to comment.