etherpad-lite/src/tests/container
SamTV12345 7e9f3e2ffb test(container): convert loadSettings + api/pad to TypeScript ESM
vitest's include glob is .ts-only (tests/container/specs/**/*.ts), so the
two .js files in tests/container were silently never collected, and the
docker workflow's `pnpm run test-container` step exited 1 with:

  No test files found, exiting with code 1

Both files were small and pure CJS (require() + exports). Converted to
ESM with vitest imports and import.meta.url-derived __dirname. Original
.js files removed.

Note: loadSettings reads ../../../settings.json.docker (three segments
up to repo root) — preserved the original path.
2026-04-26 18:32:36 +02:00
..
specs/api test(container): convert loadSettings + api/pad to TypeScript ESM 2026-04-26 18:32:36 +02:00
loadSettings.ts test(container): convert loadSettings + api/pad to TypeScript ESM 2026-04-26 18:32:36 +02:00