The problem is when create a new slider instance the unit test code doesn't destroy it, and keep the old value pass to the 'formatter' option test that cause test failed.
Issues
NOTE: Before filing a new issue, please search through the open issues list and check to see if an existing issue already exists that describes your problem. If so, leave a comment within that issue with the checklist items described below.
Please make sure you include the following in your issue report where appropriate:
[ ] JSFiddle (or an equivalent such as CodePen, Plunker, etc) with the an example demonstrating the bug
[ ] Instructions to replicate the bug in the Fiddle
Hi,
I find this bug will effect on test 'formatter' option properly will be failed.
https://github.com/seiyria/bootstrap-slider/blob/9674de904e28b275269609d1a3e837f39c389a83/test/specs/PublicMethodsSpec.js#L16
The problem is when create a new slider instance the unit test code doesn't destroy it, and keep the old value pass to the 'formatter' option test that cause test failed.
Issues
NOTE: Before filing a new issue, please search through the open issues list and check to see if an existing issue already exists that describes your problem. If so, leave a comment within that issue with the checklist items described below.
Please make sure you include the following in your issue report where appropriate: