Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: yuluo-yx <[email protected]>
  • Loading branch information
yuluo-yx committed Apr 22, 2024
1 parent ee409ab commit c393f16
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions retest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
PR,
Retest,
RetestResult,
Env,
} from "./types";

function cachedProperty(
Expand Down
22 changes: 13 additions & 9 deletions types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,19 @@ type PR = {
type OctokitType = InstanceType<typeof GitHub>;

type Env = {
octokit: OctokitType;
token: string;
comment: number;
debug: boolean;
pr: string;
nwo: string;
owner: string;
repo: string;
};
octokit: OctokitType
token: string
comment: number
debug: boolean
pr: string
nwo: string
owner: string
repo: string
appOwnerSlug: string
azpOrg: string | undefined
azpOwnerSlug: string
azpToken: string | undefined
}

export {
GithubReactionType,
Expand Down

0 comments on commit c393f16

Please sign in to comment.