Skip to content

Conversation

@shtse8
Copy link
Collaborator

@shtse8 shtse8 commented Sep 16, 2025

Fix malformed nested test, correct ESM import path, and update error message for URL load failures.

The URL load failure test in test/handlers/readPdf.test.ts was incorrectly nested within another expect.fail block, preventing it from running. This PR moves it to the top level and updates the expected error message to include the URL for clarity. Additionally, the import path in test/benchmark/readPdf.bench.ts was updated to include the .js extension for ESM consistency.


Open in Cursor Open in Web

Adjusted import path for readPdf.js and repositioned a test case for better organization.

Co-authored-by: shtse8 <[email protected]>
@cursor
Copy link

cursor bot commented Sep 16, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@shtse8
Copy link
Collaborator Author

shtse8 commented Sep 16, 2025

@cursor check failed

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.

2 participants