From 436b5e3897f235f3ecb4c5ae2168ff6f25c0c786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Walde=CC=81n=20=28Exp=29?= Date: Tue, 11 Aug 2020 14:50:11 +0200 Subject: [PATCH] further testing for inapplicable ranges --- index.test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.test.js b/index.test.js index 95b2730..db3ae3a 100644 --- a/index.test.js +++ b/index.test.js @@ -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')