14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
var assert = chai.assert,
|
|
expect = chai.expect,
|
|
should = chai.should();
|
|
|
|
describe('detectie()', function() {
|
|
|
|
it('should be false on non IE browsers', function() {
|
|
assert.equal(detectie(), false);
|
|
})
|
|
|
|
it('should be true on IE browsers', function() {
|
|
assert.include(detectie(), 'IE', 'should be true on IE');
|
|
})
|
|
}) |