The current setup in the docs/frontend vitepress site uses Vue SFC and es6. It would be nice to setup jest to test those components as it's already done with the rest of components in the extension.
Since the setup in the documentation project uses Codex's ES build instead of CommonJS modules it might be worth trying out vitest which simplifies the setup boilerplate for a Vite project to be tested. See also T305515: Consider migrating from Jest to Vitest