Skip to content

Issue in globalSetup after upgrading to Node 18 #192

Open
@mahdi

Description

@mahdi

After upgrading to Node 18, I'm unable to run tests with Jest and after debugging it I noticed that it's throwing the following error while trying to run this: [dynamoDB.listTables({})]

Error: connect ECONNREFUSED ::1:8052
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 8052,
  '$metadata': { attempts: 1, totalRetryDelay: 0 }
}

It seems that this happens on my local machine only as when CircleCI tried to run the tests everything worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions