UNPKG

webdriverio-automation

Version:

WebdriverIO-Automation android ios project

11 lines (8 loc) 377 B
import imagesCommands from '../../../lib/basedriver/commands/images'; import chai from 'chai'; chai.should(); describe('images comparison', function () { it('should throw an error if comparison mode is not supported', async function () { await imagesCommands.compareImages('some mode', '', '').should.eventually.be.rejectedWith(/comparison mode is unknown/); }); });