Skip to content

Commit

Permalink
further testing for inapplicable ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswalden committed Aug 11, 2020
1 parent 52767b4 commit 436b5e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.test.js
Expand Up @@ -198,11 +198,12 @@ gteLteWidthVariants.forEach(description => {
})
})


const inapplicableRangeVariants = [
'(width > N1) and (width < N2)',
'(width => N1) and (width <= N2)',
'(min-width: N1) and (max-width: N2)'
// '(N1 <= width =< N2)'
'(min-width: N1) and (max-width: N2)',
'(N1 <= width =< N2)',
'(N1 < width < N2)'
]
inapplicableRangeVariants.forEach(description => {
let conditions = description.replace('N1', '1024px').replace('N2', '768px')
Expand Down

0 comments on commit 436b5e3

Please sign in to comment.