MCPcopy Create free account
hub / github.com/axe-api/axe-api / setEnvSettings

Function setEnvSettings

packages/integrations/envSettings.ts:117–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115};
116
117export const setEnvSettings = () => {
118 const dbType: string = process.env.DB_PROVIDER || "sqlite";
119 const settings = getEnvSettings(dbType);
120 for (const [key, value] of Object.entries(settings)) {
121 (process.env as any)[key] = value;
122 }
123 return settings;
124};

Callers 2

index.tsFile · 0.90
vitest-setup.tsFile · 0.90

Calls 1

getEnvSettingsFunction · 0.85

Tested by

no test coverage detected