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

Headers.raw is not a function #228

Open
chr1spolo opened this issue Sep 8, 2023 · 0 comments
Open

Headers.raw is not a function #228

chr1spolo opened this issue Sep 8, 2023 · 0 comments

Comments

@chr1spolo
Copy link

Hi, I am using your tool, but I am having problems.

I am using this version of node: v20.5.0.
yarn: 3.4.1

I am using the tests with this command:
yarn validate --testNamePattern='auth'

for example the clock test works correctly, but the "auth" test gives me these errors

in the file: validate/validations/auth.test.ts:33
I get an "error headers.raw() is not a function".

in the file: validate/validations/auth.test.ts:51
axios does not save the cookies, when I make the following request, my server does not find saved cookies, so I cannot evaluate if the nonce exists.

I had to change to commit "8272fa5" to make it work, because the recent changes don't work, they don't even execute any request, can you help me?

PS: when I use postman to test, the cookies work correctly.

image

in the most recent version this is what I get:

image

@chr1spolo chr1spolo changed the title The tool don't work for me Headers.raw is not a function Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant