Skip to content

Commit

Permalink
test: add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Sep 19, 2024
1 parent c5198d3 commit 82bf31f
Show file tree
Hide file tree
Showing 4 changed files with 760 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/fixtures/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
PullRequestEditedEvent,
PullRequestReviewSubmittedEvent,
PullRequestReviewCommentCreatedEvent,
ReleasePublishedEvent,
IssuesOpenedEvent,
PullRequestOpenedEvent,
Expand All @@ -18,6 +19,7 @@ import _pull_request_edited_wip from './pull_request_edited_wip.json';
import _pull_request_review_4_submitted_changes_requested from './pull_request_review_4_submitted_changes_requested.json';
import _pull_request_review_submitted_approved from './pull_request_review_submitted_approved.json';
import _release_published from './release_published.json';
import _review_comment_created from './review_comment_created.json';

export const pull_request_review_4_submitted_changes_requested =
_pull_request_review_4_submitted_changes_requested as unknown as PullRequestReviewSubmittedEvent;
Expand All @@ -43,4 +45,7 @@ export const pr3628_open = _pr3628_open as PullRequestOpenedEvent;
export const issue_comment_created =
_issue_comment_created as IssueCommentCreatedEvent;

export const review_comment_created =
_review_comment_created as PullRequestReviewCommentCreatedEvent;

export * from './generated';
Loading

0 comments on commit 82bf31f

Please sign in to comment.