mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
e05abafddb
`mock.module` replaces a module for the whole bun test process, so mocking `@/lib/context` and `jwt-decode` wholesale in the PPR route params test broke every later test file that imported them. Spread the real context module and sign a real JWT instead. Also restore the `x-gitbook-route-site` debug header, commented out by mistake.