Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs version 20 creates error with Request #251

Closed
jaredwray opened this issue Jun 20, 2023 · 0 comments
Closed

Nodejs version 20 creates error with Request #251

jaredwray opened this issue Jun 20, 2023 · 0 comments
Labels

Comments

@jaredwray
Copy link
Owner

Describe the bug

 FAIL  test/cache.test.ts (8.056 s)
  ● cache remote address

    expect(received).toBeDefined()

    Received: undefined

      672 |     const response: any = await cacheableRequestHelper(s.url + endpoint);
      673 |     const cacheValue = JSON.parse(await cache.get(`cacheable-request:GET:${s.url + endpoint}`));
    > 674 |     expect(cacheValue.value.remoteAddress).toBeDefined();
          |                                            ^
      675 |     expect(response.statusCode).toBe(200);
      676 | });
      677 |

      at Object.<anonymous> (test/cache.test.ts:674:41)

How To Reproduce (best to provide workable code or tests!)
run nvm use 20 && npm i && npm test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant