pistolet-express
v1.0.0-alpha.8
Published
Express integration for Pistolet
Downloads
2
Readme
Pistolet Express Plugin
This plugin will mock Angular's HttpClient
during Angular unit tests.
Installation & Configuration
$ npm install pistolet-express --save-dev
Initialize Pistolet:
require('pistolet').setConfig({
backend: require('pistolet-express').ExpressBackend,
port: 8080,
dir: require('path').resolve(__dirname, 'scenarios'),
});