MCPcopy
hub / github.com/ionic-team/capacitor / makeConfig

Function makeConfig

cli/test/util.ts:17–22  ·  view source on GitHub ↗
(appRoot: string)

Source from the content-addressed store, hash-verified

15export const APP_NAME = 'Capacitor CLI Test';
16
17export async function makeConfig(appRoot: string): Promise<Config> {
18 process.chdir(appRoot);
19 const config = await loadConfig();
20 process.chdir(cwd);
21 return config;
22}
23
24export async function run(appRoot: string, capCommand: string): Promise<string> {
25 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

loadConfigFunction · 0.90

Tested by

no test coverage detected