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 f4337d3072 Make sure reading the body of same JSON page request safe. (#1185)
* Make sure reading the body of same JSON page request safe.
It's not possible to read the body twice from fetch()'s response
So, we've to clone the response before doing anything.

* Fix tests.
2017-02-17 01:12:32 -03:00
..
integration Reload the page if asked to change the current URL (#1159) 2017-02-15 19:27:41 +01: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