Skip to content

Commit c5fef62

Browse files
committed
fix lint
1 parent 33e154a commit c5fef62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/repo/pull-merge-box.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import {env} from 'node:process';
22
import {test, expect} from '@playwright/test';
33
import {login, apiBaseUrl, apiHeaders, apiCreateRepo, apiDeleteRepo, apiCreateBranch, apiCreatePullRequest, apiSetCommitStatus, apiSetBranchProtection} from '../utils.ts';
4+
import type {APIRequestContext} from "@playwright/test";
45

5-
async function createPullRequestWithFile(requestContext, repoName: string): Promise<{number: number; head_sha: string}> {
6+
async function createPullRequestWithFile(requestContext: APIRequestContext, repoName: string): Promise<{number: number; head_sha: string}> {
67
await apiCreateBranch(requestContext, env.GITEA_TEST_E2E_USER, repoName, 'test-branch');
78
await requestContext.post(`${apiBaseUrl()}/api/v1/repos/${env.GITEA_TEST_E2E_USER}/${repoName}/contents/branch-file.txt`, {
89
headers: apiHeaders(),

0 commit comments

Comments
 (0)