We updated the hash callback parameter type from string to string | undefined in both new test files to match the Updater<string> signature expected by buildLocation. This fixes the TS2322 type errors that caused both test:unit and test:types to fail. The runtime behavior of the assertions is unchanged, as the initial hash is always an empty string so the ?? '' fallback is a no-op.
Failed after
SSheraffView latestperf(router-core): investigate search re-serialization costs
81431b26264Open on GitHubThis code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.