Closed yoiang closed 4 years ago
Ah good call, my bad! I'll add them now.
Are you currently running with all tests completing? Even in the react-scroll master
I'm getting the following three tests failing:
Events ✖ calls "end" event on scrollTo Firefox 57.0.0 (Mac OS X 10.15.0) Error: Expected 2259 to equal 100 (webpack:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10760)
Page ✖ is active when clicked Firefox 57.0.0 (Mac OS X 10.15.0) Error: Expected 1217 to equal 2259 (webpack:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10760)
✖ is active when clicked to last (5) element Firefox 57.0.0 (Mac OS X 10.15.0) Error: Expected 100 to equal 5427 (webpack:///~/expect/lib/assert.js:29:0 <- tests.webpack.js:10760)
Nix that, it seems like refreshing the open Karma connected browsers results in those tests passing!
@yoiang thank you so much!!! i need this desperately for my project.
@fisshy could we possibly get this merged and shipped ?
@dav92lee Yes, most likely, just recieved the changes I've been waiting for.
Tests are important :)
@yoiang Was going to merge this, but the new tests are not passing for me.
@fisshy all are failing or two as mentioned in the commit? I still need to set aside time to sit down and see what's up with those two!
To that end we should get PRs' tests run on a CI so we can all see ;)
Any update on this? I'm so waiting for this :)
@softage0 waiting on @yoiang to fix the tests, so all passes.
@fisshy @dav92lee @softage0 sorry, trying to make time! help taking this PR over the finish line is of course welcome ;)
@yoiang swamped myself -- promise to give it a try next weekend when I have some time. Thanks for your work!
@yoiang I just sent PR to fix test cases and add several missing features: https://github.com/Adorkable-forkable/react-scroll/pull/1
Please review this :)
Merged in @softage0 great work! I was getting it to pass sometimes, fail sometimes locally, would anyone have insight into that or is the passing enough?
Nice work guys! any chance this will be release soon?
I have now released it as v1.8.0 :)
Thanks for the release! can you add how to use this new feature it in the docs?
Thanks for the PR, probably useful for many.
Missing tests in the PR.