mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Add one more test for Bowser.isUnsupportedBrowser
This commit is contained in:
parent
9f8ad07aa4
commit
3ce77e9ed4
@ -117,6 +117,11 @@ describe('Unsupported browser check', function() {
|
|||||||
assert.equal(unsupported, false);
|
assert.equal(unsupported, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should NOT be passed by #isUnsupportedBrowser for IE10.6 and for IE10 miminal version specified in strict mode', function() {
|
||||||
|
var isUnsupported = browser.isUnsupportedBrowser({msie: "11"}, true, this.ie10_6);
|
||||||
|
assert.equal(isUnsupported, true);
|
||||||
|
});
|
||||||
|
|
||||||
it('should NOT be passed by #check for IE10.6 and for IE11 miminal version specified', function() {
|
it('should NOT be passed by #check for IE10.6 and for IE11 miminal version specified', function() {
|
||||||
var supported = browser.check({msie: "11"}, this.ie10_6);
|
var supported = browser.check({msie: "11"}, this.ie10_6);
|
||||||
assert.equal(supported, false);
|
assert.equal(supported, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user