diff options
Diffstat (limited to 'test/unit/support.js')
-rw-r--r-- | test/unit/support.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index e3a7778c4..a3122e052 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -55,7 +55,7 @@ testIframe( ); ( function() { - var expected, + var expected, browserKey, userAgent = window.navigator.userAgent, expectedMap = { ie_11: { @@ -80,6 +80,13 @@ testIframe( } }; + // Make the selector-native build pass tests. + for ( browserKey in expectedMap ) { + if ( !includesModule( "selector" ) ) { + delete expectedMap[ browserKey ].cssSupportsSelector; + } + } + if ( document.documentMode ) { expected = expectedMap.ie_11; } else if ( /chrome/i.test( userAgent ) ) { |