rsnext/test
Joe Haddad 7646921911
fix(router): consistent scroll behavior for Link/Router#push (#20606)
This pull request makes `Router#push` and `Router#replace` function identically to `<Link />`, i.e. reset scroll when the new render is complete.

Users can opt out of this new behavior via:
```tsx
const path = '/my-page'
router.push(path, path, { scroll: false })
```

---

Fixes #3249
2020-12-30 16:10:59 +00:00
..
.stats-app Remove old modern mode experiment (#19275) 2020-11-18 18:30:00 +00:00
acceptance deps: upgrade various deps (mainly babel) (#20586) 2020-12-29 20:10:08 +00:00
eslint-plugin-next Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
integration fix(router): consistent scroll behavior for Link/Router#push (#20606) 2020-12-30 16:10:59 +00:00
isolated Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
lib Ensure next commands respect termination signals (#19433) 2020-11-25 13:30:06 +00:00
package-managers-tests/basic-pnpm Resolve to real path before checking for path inequality (#17279) 2020-10-14 13:36:59 +02:00
unit Add profiling to webpack loaders (#20392) 2020-12-29 21:21:35 +00:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
jest-environment.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-setup.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-teardown.js Update CI/test set up (#9499) 2019-11-25 13:19:45 -05:00
jest-setup-after-env.js Only retry tests on CI (#12998) 2020-05-17 12:10:02 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00
tsconfig.json Update tsconfig for tests 2020-01-21 15:29:39 -06:00