Skip to content

Commit

Permalink
Updated unit tests to expect "not all" instead of "not screen"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan503 committed Jan 8, 2018
1 parent 9debbb3 commit c2e7748
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion unit-tests/media/notMedia/notMedia.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@media not screen and (min-width: 801px){.unitTest{color:#000}}
@media not all and (min-width: 801px){.unitTest{color:#000}}
2 changes: 1 addition & 1 deletion unit-tests/media/notMedia/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import unitTest from '../../../gulp/helpers/unitTest';

unitTest('notMedia', __dirname, '@media not screen and (min-width: 801px){.unitTest{color:#000}}')
unitTest('notMedia', __dirname, '@media not all and (min-width: 801px){.unitTest{color:#000}}')
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
2 changes: 1 addition & 1 deletion unit-tests/ratio/exactRatioWorkAround1/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import unitTest from '../../../gulp/helpers/unitTest';

unitTest('exactRatioWorkAround1', __dirname, '@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')
unitTest('exactRatioWorkAround1', __dirname, '@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
2 changes: 1 addition & 1 deletion unit-tests/ratio/exactRatioWorkAround2/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import unitTest from '../../../gulp/helpers/unitTest';

unitTest('exactRatioWorkAround2', __dirname, '@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')
unitTest('exactRatioWorkAround2', __dirname, '@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}
2 changes: 1 addition & 1 deletion unit-tests/ratio/exactRatioWorkAround3/test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import unitTest from '../../../gulp/helpers/unitTest';

unitTest('exactRatioWorkAround3', __dirname, '@media not screen and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')
unitTest('exactRatioWorkAround3', __dirname, '@media not all and (max-aspect-ratio: 2 / 1){.unitTest{color:#000}}')

0 comments on commit c2e7748

Please sign in to comment.