-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add non confirming processors #49
Conversation
aljones15
commented
Jul 10, 2024
- asserts on 400 or 422
- moves a test data gen from suite to setup
- adds missing normative statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly just a question. Otherwise, looks good.
tests/assertions.js
Outdated
400, | ||
'Expected HTTP Status code 400 invalid input!' | ||
); | ||
error.status.should.be.oneOf([400, 422], reason); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this reason
be something closer to the original rather than "Expected no result from verifier."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmmm... I honestly was just thinking about the single case here where Greg's implementation runs 500 and I didn't know which test vector was causing that, so I think having a different default makes sense and I'll make that change momentarily. good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the additional default here f1fbfad
9c6de82
to
f1fbfad
Compare
This should be retitled to |