Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing err argument to getPathname callbacks.
The callback for `page.evaluate` should expect an error argument followed by the result. Our callbacks were expecting the result only. This means our assertions were checking that null === null instead of checking if pathnames matched. Both assertions pass, but the latter is more useful for finding bugs. :)
- Loading branch information