1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test
Arunoda Susiripala 0bd250f4aa Handle BUILD_ID mismatch error (#1224)
* Reload the page if the buildIds are mismatch.

* Reload the browser with main.js and commons.js buildId mismatch.

* Implement proper reloading with an API to persist the state.

* Add some tests for force reload.

* Change _reload to _forceReload.

* Add a section about reload hooks to the README.

* Allow to add a hook to handle BUILD_ID mismatch.

* Remove readme docs.

* Do not show a custom error to the user.

* Cancel the routing when there's a BUILD_ID mismatch.

* Fix a typo.

* Passing route to SingletonRouter.onBuildIdMismatch

* Handle buildId mismatch automatically.
2017-02-20 15:48:17 -08:00
..
integration Handle BUILD_ID mismatch error (#1224) 2017-02-20 15:48:17 -08:00
isolated New test setup (#640) 2017-01-12 13:14:49 +09:00
lib Testing: use a better way to get a port to the test app (#753) 2017-02-09 14:40:09 +01:00
unit Make sure reading the body of same JSON page request safe. (#1185) 2017-02-17 01:12:32 -03:00