rsnext/test
Hannes Bornö 75bbf00a8f
Add local font loader (#40801)
Moves font related types to `next/font` so they can be reused in font
loaders.

Adds an argument to font loaders, the relative path from the app root to
the module consuming the loader. Needed for resolving local files
relative to the module calling it. Also used to improve error message.

Adds `@next/font/local` font loader. Similar to `@next/font/google` but
used to host locally downloaded font files.
2022-09-22 12:49:02 -07:00
..
.stats-app Add missing release stats config for app (#40805) 2022-09-22 09:37:00 -07:00
__mocks__ Update Edge Runtime (#38862) 2022-07-21 18:29:19 +00:00
development Fix flaky full reload hmr tests (#40786) 2022-09-22 08:56:42 -07:00
e2e Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
integration Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00
lib Skip copying next-swc debug files during testing (#40761) 2022-09-21 17:14:29 +00:00
production Set __NEXT_NEW_LINK_BEHAVIOR in Jest tests when newNextLinkBehavior is true (#40702) 2022-09-21 22:36:59 -07:00
unit Add local font loader (#40801) 2022-09-22 12:49:02 -07:00
.gitignore
jest-setup-after-env.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
jest.d.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00

See Testing for more information on how you can run/write/debug tests for Next.js.