mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-28 04:24:04 +00:00
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. |
||
|---|---|---|
| .. | ||
| specs/api | ||
| loadSettings.ts | ||