Jan Potoms
2f50f1f8c9
Stabilize more tests ( #15470 )
...
jest retries seem to be masking test failures, like the `auto-export` one (and maybe others). I turned it off for now. The `auto-export` test fails when retries are turned off.
the output of this test failure was a bit unhelpful so I also improved it.
Many tests have anonymous page functions.
2020-07-26 04:57:06 +00:00
Joe Haddad
86160a5190
Upgrade to Prettier 2 ( #13061 )
2020-05-18 15:24:37 -04:00
Jan Potoms
32057c849d
Use the jest-circus test runner ( #12974 )
2020-05-16 16:56:06 -04:00
JJ Kasper
53e9983d83
Add hydration callback for testing ( #10195 )
...
* Add hydration callback for testing
* Update size-limit test
2020-01-21 15:33:58 -05:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
JJ Kasper
583b4677ae
Prevent URL from being updated while asPath is delayed ( #8756 )
...
* Prevent updating URL when delaying asPath
* Ignore TypeScript not liking __NEXT_DATA__
* Update another global to fix standard check
2019-09-16 12:15:18 -04:00
JJ Kasper
a5ebe41a9a
Delay updating asPath for auto exported pages ( #8681 )
...
* Delay updating asPath for auto exported pages
* Add additional test ensuring asPath is updated
2019-09-10 13:30:25 -04:00
JJ Kasper
5422ee04be
Update to replace asPath for static pages in dev mode ( #8388 )
...
* Update to replace asPath for static pages in dev mode
* Run lint-fix
* Simplify test a bit
2019-08-16 12:53:47 -04:00
Joe Haddad
ab0b2cf3da
Add a test for module.exports from a page ( #7842 )
...
Closes https://github.com/zeit/next.js/issues/7835
2019-07-09 13:23:38 -04:00