Skip to content

Unit test cases are failing  #311

@swaruparameshpajju

Description

@swaruparameshpajju

Runtime

browser

Runtime version

v18.0.1

Module version

v18.0.1

Used with

No response

Any other relevant information

[root@5ad1d2d876f6 wreck]# npm run test
npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry. see `npm help npmrc` for more information.

> @hapi/wreck@18.0.1 test
> lab -t 100 -L -a @hapi/code -m 10000 -Y

[..................] / : timing config:load:flatten Completed in 5ms

.............[..................] / : timing config:load:flatten Completed in 5ms
...................] / : timing config:load:flatten Completed in 5ms
[..................] / : timing config:load:flatten Completed in 5ms

Test script errors:

Incomplete assertion at /root/wreck/test/index.js:195.15

There were 1 test script error(s).

Failed tests:

  2) request() requests a resource with IPv6:

      Client request error: connect EADDRNOTAVAIL ::1:39903 - Local (:::0)

  Error: connect EADDRNOTAVAIL ::1:39903 - Local (:::0)
      at internalConnect (node:net:1041:16)
      at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
      at node:net:1134:9
      at processTicksAndRejections (node:internal/process/task_queues:78:11)

  13) request() can set a null agent and rejectUnauthorized at the same time:

      Timed out (10000ms) - request() can set a null agent and rejectUnauthorized at the same time


  14) request() requests an https resource:

      Timed out (10000ms) - request() requests an https resource


  15) request() requests an https resource with secure protocol set:

      Timed out (10000ms) - request() requests an https resource with secure protocol set


  16) request() requests an https resource with TLS ciphers set:

      Timed out (10000ms) - request() requests an https resource with TLS ciphers set


  30) request() handles redirections with different host than baseUrl in defaults:

      Timed out (10000ms) - request() handles redirections with different host than baseUrl in defaults

How can we help?

const some = 'properly formatted code example';

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportQuestions, discussions, and general support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions