diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21cc825dd..3f8012326 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/browser.js b/browser.js index 8a721660d..de46bf0b4 100644 --- a/browser.js +++ b/browser.js @@ -13,7 +13,8 @@ const stdSerializers = { wrapErrorSerializer: passthrough, req: mock, res: mock, - err: asErrValue + err: asErrValue, + errWithCause: asErrValue } function shouldSerialize (serialize, serializers) {