Skip to content

Commit 8da9663

Browse files
committed
Added in all remaining tests
1 parent 196d227 commit 8da9663

File tree

44 files changed

+134
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+134
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('maxHeight', __dirname, '@media (max-height: 800px){.unitTest{color:#000}}')
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//maxHeightVar
2+
3+
import unitTest from '../../../gulp/helpers/unitTest';
4+
5+
unitTest('maxHeightVar', __dirname, '@media (max-height: 800px){.unitTest{color:#000}}')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('minHeight', __dirname, '@media (min-height: 801px){.unitTest{color:#000}}')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('minHeightVar', __dirname, '@media (min-height: 801px){.unitTest{color:#000}}')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('outsideHeight', __dirname, '@media (max-height: 600px), (min-height: 801px){.unitTest{color:#000}}')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('outsideHeightVar', __dirname, '@media (max-height: 600px), (min-height: 801px){.unitTest{color:#000}}')

unit-tests/media/notMedia/test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('notMedia', __dirname, '@media not screen and (min-width: 801px){.unitTest{color:#000}}')

unit-tests/media/onlyMedia/test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('onlyMedia', __dirname, '@media screen{.unitTest{color:#000}}')
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('simpleMedia', __dirname, '@media screen and (min-width: 801px){.unitTest{color:#000}}')

unit-tests/or/complexOr/test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unitTest from '../../../gulp/helpers/unitTest';
2+
3+
unitTest('complexOr', __dirname, '@media screen and (max-width: 800px) and (min-width: 601px), (max-aspect-ratio: 1 / 1), (min-aspect-ratio: 2 / 1){.unitTest{color:#000}}')

0 commit comments

Comments
 (0)