Files
twenty/packages
Raphaël Bosi 167d684a29 Run the people-data-labs spec suite in CI (#23743)
The PDL app's unit vitest config only matched `src/**/*.test.ts`, but
the app's test files were named `*.spec.ts`, so CI ran a single file and
368 tests never executed.

Renamed the 88 spec files to `*.test.ts`, the convention every other
public app and the `create-twenty-app` scaffold already use, which
leaves `vitest.unit.config.ts` byte-identical to the other apps.
`capitalize-name` had both a spec and a test file covering the same
function, so the more thorough one was kept.

Turning the suite on surfaced one real failure: `collectUuids` in the
select-option test scooped up the `path` strings added to
`PDL_LOGIC_FUNCTION_CONSTANTS` and asserted they were v4 UUIDs. It now
stops at any object with a `universalIdentifier` and collects only that
value.

`yarn test:unit` is green at 88 files / 368 tests, with `yarn typecheck`
and `yarn lint` clean.
2026-08-04 12:01:40 +00:00
..