Have ideas to improve npm?Join in the discussion! »

@gyugyu/sassunitTypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

sassunit

Unit testing framework for Dart Sass

Installation

$ npm install @gyugyu/sassunit @gyugyu/assert-sass sass

Example

@function sum($a, $b) {
  @return $a + $b;
}
@use 'functions';
@use '@gyugyu/assert-sass' as assert;
 
@function test-sum() {
  $ret: assert.equals(functions.sum(2, 3), 5);
  @return $ret;
}
$ npx sassunit

Keywords

Install

npm i @gyugyu/sassunit

DownloadsWeekly Downloads

6

Version

0.1.1

License

MIT

Unpacked Size

8.88 kB

Total Files

13

Last publish

Collaborators

  • avatar