/* Lesli Copyright (c) 2020, Lesli Technologies, S. A. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . LesliCSS - SCSS Utilities for websites, apps and web applications Powered by https://www.lesli.tech Building a better future, one line of code at a time. @contact @website @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ // · */ // · @import "true"; @import "../../src/mixins/scrollbar.scss"; // · // Describe what you're testing @include describe('@mixin lesli-css-scrollbar($style:normal, $color:false, $background:false)') { @include it('should thin scrollbar') { @include assert { @include output { @include lesli-css-scrollbar(); } @include expect { scrollbar-width: thin; scrollbar-color: #ffffff #ffffff; } } } @include it('should thin and hide scrollbar') { @include assert { @include output { @include lesli-css-scrollbar(hide); } @include expect { scrollbar-width: thin; scrollbar-color: #ffffff #ffffff; &::-webkit-scrollbar { width: 0px; background-color: #f5f5f5; } } } } }