604681912b
Colocated unit tests (such as ones in `packages/next` and `packages/font`) weren't running in CI since `run-tests` marks the glob cwd as `<root>/tests`. This modifies the working directory to be the root so the new expanded test pattern will pick up files outside of `test/`. Several of these tests were failing so there are updates in here to fix them. Specifically: - Source Sans Pro font was renamed to Source Sans 3 - `fillCacheWithDataProperty` test was hitting the `bailOptimistic` code path - `resolve-metadata` had an invalid assertion (`rel: icon` gets added as part of `IconsMetadata`) - `resolve-opengraph` wasn't handling undefined images - `server-patch-reducer` now use inline snapshots as one was failing since it now has a prefetchCache |
||
---|---|---|
.. | ||
actions | ||
DISCUSSION_TEMPLATE | ||
ISSUE_TEMPLATE | ||
workflows | ||
.kodiak.toml | ||
CODEOWNERS | ||
labeler.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
pull_request_template.md |