Skip to content

Commit d628105

Browse files
committed
fix(e2e): avoid .env file creation
1 parent b8c0577 commit d628105

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/e2e/helpers/spawn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const runAction = async (
99
envOverrides: Record<string, string> = {},
1010
options: RunActionOptions = {},
1111
): Promise<{ exitCode: number; stdout: string; stderr: string }> => {
12-
const { command = 'yarn', args = ['start:dev'] } = options;
12+
const { command = 'yarn', args = ['start'] } = options;
1313
const env = { ...process.env, ...envOverrides };
1414

1515
return new Promise((resolve, reject) => {

src/e2e/scenarios/sync-creates-issues.e2e.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ describe('E2E: Sync Creates Issues', () => {
2727
const startTime = new Date();
2828

2929
const result = await runAction({
30+
ACCESS_TOKEN: s.env.accessToken,
31+
HEAD_REPO: s.env.headRepoUrl,
3032
HEAD_REPO_BRANCH: branch,
33+
UPSTREAM_REPO: s.env.upstreamRepoUrl,
3134
TRACK_FROM: baseSha,
3235
MAYBE_FIRST_RUN: 'true',
3336
});

0 commit comments

Comments
 (0)