mock-browser-location
v1.0.2
Published
mock-browser-location
Downloads
12
Maintainers
Readme
mock-browser-location
Installation
npm install mock-browser-location --save
Documentation
like window.location
const browserLocation = require('mock-browser-location')
browserLocation.href = 'new url'