Skip to content

Commit

Permalink
Expose errWithCause to browser API (#1701)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina authored May 2, 2023
1 parent 03a01be commit c0e11b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
node-version: [14, 16, 18, 19]
node-version: [14, 16, 18, 19, 20]
steps:
- name: Check out repo
uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const stdSerializers = {
wrapErrorSerializer: passthrough,
req: mock,
res: mock,
err: asErrValue
err: asErrValue,
errWithCause: asErrValue
}

function shouldSerialize (serialize, serializers) {
Expand Down

0 comments on commit c0e11b9

Please sign in to comment.