• Romaric Pascal's avatar
    SCSS testing of the utilities API (#36029) · 33ccbc23
    Romaric Pascal authored
    
    
    * Set up CSS testing using sass-true and mocha
    
    Use mocha to handle the heavy lifting of finding tests and running them.
    Mocha is made to look directly for SCSS files which are compiled
    thanks to Node's require.extensions mechanism.
    
    * Add CSS tests to workflow
    
    * Add tests for the generate-utility mixin
    
    * Add tests for utilities generation
    
    * Fix linting issues
    
    * Fix test contents
    
    Don't know why the whole utilities.test.scss ended up copied in the api.test.scss
    
    * Remove unnecessary entry in package.json
    
    * Move to Jasmine for running the tests
    
    * Move running of CSS tests before CSS build
    
    * Update linting set up
    
    Add exceptions for test files in stylelint
    
    * Remove irrelevant option for sass-true
    
    * Fix linting issues after rebase
    
    * Add color mode tests
    
    * Fix linter
    
    Co-authored-by: default avatarMark Otto <markdotto@gmail.com>
    33ccbc23