fix: Set preventAbort
to true
on the pipeThrough
as to work around an issue in Deno where an uncatchable exception is thrown if/when the client aborts the incoming request.
#167
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.44.4 | |
- name: Check formatting | |
run: deno fmt src/ --ignore=src/vendor --check | |
- name: Test Deno | |
run: deno test --allow-all |