fake-history-fns
fake-history functions.
Installation
$ npm install fake-history-fns
Usage
;; ;;;;; assertlengthb1 === 3;assertstateb1 === 2; assertcurrentb1 === '/2';assertcurrentStateb1 === 2;assertnextb1 === '/3';assertnextStateb1 === 3;assertpreviousb1 === '/1';assertpreviousStateb1 === 1;
Related Project
- bouzuya/fake-history ... A fake History object.
Development
$ yarn
$ npm run watch