CLAUDE.md@tests/integration · git:20260522.810dfb8 · 2026-05-22 · sha256 769f190fb8c9f3b9

CLAUDE.md@tests/integration git:20260522.810dfb8A

Immutable. This exact content never changes and is served at /api/v1/blob/769f190fb8c9f3b9.

# tests/integration

## Integration tests must isolate the LibreOffice user profile

macOS `soffice --headless` locks the default user profile (`~/Library/Application Support/LibreOffice/4`); any concurrent or stale soffice causes new spawns to exit non-zero. [libreoffice-roundtrip.test.ts](libreoffice-roundtrip.test.ts) creates one `mkdtemp` profile in `beforeAll` and passes `-env:UserInstallation=file://<dir>` on every spawn. Any new test that calls `soffice` directly must follow the same pattern, or it'll flake the moment two test runs (or two test files) overlap.