mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
12 lines
521 B
TypeScript
12 lines
521 B
TypeScript
import globalSetup from "./globalSetup";
|
|
|
|
export default async function migrationServerRootPathGlobalSetup() {
|
|
if (!process.env.SERVER_ROOT_PATH) {
|
|
throw new Error(
|
|
"migration.serverRootPath.config.ts requires SERVER_ROOT_PATH to be set (e.g. SERVER_ROOT_PATH=/litellm). " +
|
|
"Without it this config silently re-runs the default mount and never exercises the prefix. " +
|
|
"For the root-less run use the default playwright.config.ts (npm run e2e:migration).",
|
|
);
|
|
}
|
|
await globalSetup();
|
|
}
|