Skip to content

Commit

Permalink
feat: support node v22 (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenHoangSon96 authored Jan 7, 2025
1 parent 2ac59d2 commit ecfcf06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ workflows:
filters:
branches:
ignore: gh-pages
- tests:
name: 'tests-node-22'
image: 'cimg/node:22.12.0'
filters:
branches:
ignore: gh-pages
- coverage:
filters:
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ describe('NodeHttpTransport', () => {
if (resume) resume()
await waitForCondition(
() => spy.complete.callCount === 1,
'response is fully read'
'response is fully read',
500
)
expect(spy.next.callCount).is.greaterThan(2)
})
Expand Down
1 change: 1 addition & 0 deletions packages/client/test/unit/util/waitForCondition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* for at most `timeout` milliseconds. The `condition`
* every `step` milliseconds.
* @param condition - condition to validate
* @param message
* @param timeout - maximum wait time
* @param step - interval to validate the condition
*/
Expand Down

0 comments on commit ecfcf06

Please sign in to comment.