superfaceai / one-sdk-js

1️⃣ One Node.js SDK for all the APIs you want to integrate with
https://superface.ai
MIT License
46 stars 3 forks source link

Add Node 19 to CI Tests #320

Open freaz opened 1 year ago

freaz commented 1 year ago

Description

Runs OneSDK on Node 19.

Found bug in mockttp, where connection header is deleted and client doesn't know how to behave.

I choose to use Connection: close because with keep-alive, I would need to set also Keep-Alive: timeout=5. And I hope I will be able to fix mockttp eventually, so this can be reverted.

Motivation and Context

I want to have OneSDK tested on all supported Node.js versions

Types of changes

Checklist: