ng-apimock-webdriverio

1.4.6 • Public • Published

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.

Package Sidebar

Install

npm i ng-apimock-webdriverio

Weekly Downloads

7

Version

1.4.6

License

none

Unpacked Size

539 kB

Total Files

96

Last publish

Collaborators

  • stemu