Skip to content

Commit

Permalink
chore: add failing test
Browse files Browse the repository at this point in the history
chore: wip

chore: wip
  • Loading branch information
chrisbbreuer committed Nov 14, 2024
1 parent 1a69215 commit c4d1510
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fixtures/input/variable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,13 @@ export const CONFIG_MAP = {
}
}
} as const

export const command = {
run: async (command: string, options?: CliOptions): Promise<Result<Subprocess<Writable, Readable, Readable>, Error>> => {
return await runCommand(command, options)
},

runSync: async (command: string, options?: CliOptions): Promise<Result<Subprocess<Writable, Readable, Readable>, Error>> => {
return await runCommand(command, options)
},
}
5 changes: 5 additions & 0 deletions fixtures/output/variable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,9 @@ export declare const CONFIG_MAP: {
}
}
}
};
export declare const command: {
run: unknown;
Readable, Readable>, Error>> => {
return await runCommand: () => unknown
};

0 comments on commit c4d1510

Please sign in to comment.