Skip to content

test: add parser error path tests#217

Merged
dhensby merged 1 commit intotediousjs:masterfrom
dhensby:test/parser-error-paths
Apr 15, 2026
Merged

test: add parser error path tests#217
dhensby merged 1 commit intotediousjs:masterfrom
dhensby:test/parser-error-paths

Conversation

@dhensby
Copy link
Copy Markdown
Collaborator

@dhensby dhensby commented Apr 15, 2026

Adds tests for the two previously untested throw paths in connection-string-parser.ts:

  • Malformed connection string — trailing non-whitespace characters after a quoted value
  • Unterminated quoted values — double quotes, single quotes, and brace quotes that never close

Adds tests for the two throw paths in the connection string parser:
- Malformed connection string (trailing chars after quoted value)
- Unterminated quoted values (double quotes, single quotes, braces)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dhensby dhensby merged commit a53018a into tediousjs:master Apr 15, 2026
7 checks passed
@dhensby dhensby deleted the test/parser-error-paths branch April 15, 2026 06:48
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

Successfully merging this pull request may close these issues.

1 participant