Skip to content

Commit 2a82423

Browse files
committed
test: add tests for authenticate command
- Add 20 tests covering OAUTHBEARER, XOAUTH2, XOAUTH authentication - Add tests for SASL PLAIN with and without authzid (impersonation) - Add tests for SASL LOGIN with username/password prompts - Add tests for error handling, malformed responses, unsupported mechanisms - Add tests for auth method preference (OAuth > PLAIN > LOGIN) - Coverage improved: authenticate.js 5.74% -> 95.40% - Overall coverage: 73.51% -> 75.10%
1 parent 024bc86 commit 2a82423

File tree

1 file changed

+546
-0
lines changed

1 file changed

+546
-0
lines changed

0 commit comments

Comments
 (0)