Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add additional file serving tests (#12479)
* Test `static/` file name encoding * Fix `static/` file name encoding * Add additional file-serving tests * bump Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
- Loading branch information
Showing
with
4,502 additions
and 3 deletions.
- +13 −1 packages/next/server/next-dev-server.ts
- +1 −0 test-file.txt
- +1 −0 test/integration/file-serving/pages/index.js
- +1 −0 test/integration/file-serving/public/hello world.txt
- +1 −0 test/integration/file-serving/static/hello world.txt
- +1 −0 test/integration/file-serving/test-file.txt
- +4,474 −0 test/integration/file-serving/test/index.test.js
- +1 −0 test/integration/test-file.txt
- +8 −2 test/lib/next-test-utils.js
- +1 −0 test/test-file.txt
| @@ -0,0 +1 @@ | ||
| this is used for traverse testing |
| @@ -0,0 +1 @@ | ||
| export default () => 'hi' |
| @@ -0,0 +1 @@ | ||
| hi |
| @@ -0,0 +1 @@ | ||
| hi |
| @@ -0,0 +1 @@ | ||
| this is used for traverse testing |
Oops, something went wrong.