Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed May 1, 2024
1 parent 84fbed6 commit 3d61c7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Test Basic Skipped
name: Test Basic Skipped (skipped)
conclusion: skipped

# With details
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
id: init
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Test With Init (passes)
name: Test With Init (fails)
status: in_progress
- run: sleep 30
- uses: ./
Expand Down
14 changes: 6 additions & 8 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ describe('run action', () => {
}
};

type RequestHandler = {
(
method: string | undefined,
url: string | undefined,
headers: http.IncomingHttpHeaders,
body: Record<string, unknown> | undefined,
): {status: number; headers: Record<string, string>; reply: Record<string, unknown>};
};
type RequestHandler = (
method: string | undefined,
url: string | undefined,
headers: http.IncomingHttpHeaders,
body: Record<string, unknown> | undefined,
) => {status: number; headers: Record<string, string>; reply: Record<string, unknown>};

const mockHTTPServer = async (
handler: RequestHandler,
Expand Down

0 comments on commit 3d61c7c

Please sign in to comment.