Add the Google Meet app test setup

EH
2d ago
+1237-3

Context

Second PR of the Google Meet app, following #30587 (app shell). The app will import Google Meet recordings, transcripts and Gemini notes into Call Recordings, the same way the Teams, Fathom and Granola apps do. The full sequence of PRs is listed in #30587.

This one adds the test tooling that was left out of the first PR to keep it small.

What this PR does

  • Adds vitest and vite-tsconfig-paths, with the test, test:unit and test:watch scripts used by the other public apps. Most of the diff is the resulting yarn.lock change.
  • Adds tsconfig.spec.json and points typecheck at it so test files are type checked.
  • Unit test: every universal identifier is a distinct UUID v4 (same check as the Granola app).
  • Integration test: the app installs on a Twenty server. global-setup.ts, run-twenty.ts and both vitest configs are copied unchanged from the Teams app.

Adding the test script makes CI run the integration suite and the install step for this app from now on.

Checks

Run locally in the app folder: yarn install --immutable, yarn lint, yarn typecheck and yarn test:unit pass. The integration test needs a running server and was not run locally; CI runs it.