Fix bugs and add tests #145
Reference in New Issue
Block a user
Delete Branch "fix/bugs-and-add-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR has a bunch of various bug fixes for the code and tests, and many new tests. It's based on #144, so that needs to be merged first.
@robinnorth I cherry-picked your commit from the
fix/missing-testsbranch (Add tests forlib/util/noop.js- 5e7341d).@BehindTheMath nice one, that's a substantial PR! I'll take a proper look at it as soon as I have time.
Thanks. I didn't originally plan on it being so big, but I was aiming for as close to 100% coverage as I could, and I kept adding more tests and finding more issues.
If it's too big, I can break it up into smaller PRs.
@robinnorth Do you think you'll have time to look this over, or should I just merge it? I would love to have a second pair of eyes on it, but I know you said you've been busy lately.
Sorry, I've been very tardy in reviewing this for you. I have indeed been busy, but I'll make some time to check it out later and get back to you.
Thank you, I appreciate it.
@@ -1,15 +1,17 @@var attrState = "data-pjax-state"This, and line 12 could be abstracted to use
var attrState = "data-pjax-state", as inattach-linkIs
attachFormka typo?Yup
@@ -1,15 +1,17 @@var attrState = "data-pjax-state"True.
I've finished stepping through all the commits, run the example project and tested against my real-world project that's using this and everything seems good to merge to me!
I deleted the
fix/missing-testsbranch, since I cherry-picked the only commit from there into this PR, and we're close to 100% coverage.Cool, thanks!