1.4.6 • Published 6 years ago

ng-apimock-webdriverio v1.4.6

Weekly downloads
4
License
-
Repository
github
Last release
6 years ago

ng-apimock-webdriverio

This is a fork of ng-apimock, modified so that it can be used with webdriver.io instead of protractor. This is done with as little effort possible, using search & replace and cutting some corners here and there. Use at your own risk.

It assumes that the location of wdio.conf.js is in your root folder (i.e. at the same level as package.json) to determine the baseUrl.

Installation and usage

Just follow the instructions for ng-apimock. Every time it says require('ng-apimock') replace that with require('ng-apimock-webdriverio'). When it says protractor.mock.js, use wdio.mock.js instead.