UNPKG

@testim/testim-cli

Version:

Command line interface for running Testing on you CI

14 lines (10 loc) 419 B
var WebdriverIO = require('../../../index'); describe('ErrorHandler', function() { it('should accessible through module object', function() { WebdriverIO.hasOwnProperty('ErrorHandler').should.be.true; }); it('should throw selenium error when passing specific error ID', function() { var error = new WebdriverIO.ErrorHandler(17); error.name.should.be.exactly('Error'); }); });