Skip to content

Commit

Permalink
feat(createTestInstance): add MOQUERIE_CWD env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Sep 19, 2024
1 parent 0e3eac4 commit 663e349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export async function createMoquerieInstance(options: CreateMoquerieInstanceOpti
*/
export function createTestInstance(overrideOptions: Partial<CreateMoquerieInstanceOptions> = {}): Promise<MoquerieInstance> {
return createMoquerieInstance({
cwd: process.cwd(),
cwd: process.env.MOQUERIE_CWD ?? process.cwd(),
skipWrites: true,
silent: true,
watching: false,
Expand Down

0 comments on commit 663e349

Please sign in to comment.