diff --git a/__tests__/mode.test.scss b/__tests__/mode.test.scss index 2c0d1cae..a02856e1 100644 --- a/__tests__/mode.test.scss +++ b/__tests__/mode.test.scss @@ -27,6 +27,36 @@ } } } + + @include test("support pref") { + @include mode.SUPPORT_PREF; + + @include assert { + @include output { + @if mode.isMediaPref() { + @include example; + } + } + @include expect { + // IGNORE + } + } + } + + @include test("media pref") { + @include mode.MEDIA_PREF; + + @include assert { + @include output { + @if mode.isMediaPref() { + @include example; + } + } + @include expect { + // IGNORE + } + } + } } @include test-module("STANDARD Mode [mix]") { @@ -54,4 +84,34 @@ } } } + + @include test("support pref") { + @include mode.SUPPORT_PREF; + + @include assert { + @include output { + @if mode.isMediaPref() { + @include example; + } + } + @include expect { + // IGNORE + } + } + } + + @include test("media pref") { + @include mode.MEDIA_PREF; + + @include assert { + @include output { + @if mode.isMediaPref() { + @include example; + } + } + @include expect { + @include example; + } + } + } }