-
Notifications
You must be signed in to change notification settings - Fork 124
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
test: use vitest@3 #570
test: use vitest@3 #570
Conversation
WalkthroughThis pull request introduces updates to the project's README, package dependencies, and test configurations. The changes primarily focus on adding new badges to the README for enhanced visibility, updating development dependencies in Changes
Sequence DiagramsequenceDiagram
participant Test as Test Environment
participant Selfsigned as Selfsigned Library
participant Server as Secure Server
Test->>Selfsigned: Generate certificates
Selfsigned-->>Test: Return { private, cert }
Test->>Server: Create with generated certificates
Server-->>Test: Server initialized
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
New and updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #570 +/- ##
==========================================
+ Coverage 95.70% 95.89% +0.18%
==========================================
Files 11 11
Lines 1282 1339 +57
Branches 309 309
==========================================
+ Hits 1227 1284 +57
Misses 51 51
Partials 4 4 ☔ View full report in Codecov by Sentry. |
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
test/patch-structuredClone.cjs (1)
3-7
: Consider enabling the debug statement for better observability.The commented debug statement could be valuable for troubleshooting in CI environments where Node.js versions might vary. Consider uncommenting it to improve observability.
- // console.debug('patched structuredClone for Node.js %s', process.version); + console.debug('patched structuredClone for Node.js %s', process.version);
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
README.md
(1 hunks)package.json
(4 hunks)test/HttpClient.test.ts
(3 hunks)test/options.timeout.test.ts
(2 hunks)test/patch-structuredClone.cjs
(1 hunks)vite.config.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- vite.config.ts
🚧 Files skipped from review as they are similar to previous changes (4)
- README.md
- test/options.timeout.test.ts
- test/HttpClient.test.ts
- package.json
🧰 Additional context used
🪛 eslint
test/patch-structuredClone.cjs
[error] 1-1: Require statement not part of import statement.
(@typescript-eslint/no-var-requires)
⏰ Context from checks skipped due to timeout of 90000ms (8)
- GitHub Check: Node.js / Test (windows-latest, 22)
- GitHub Check: Node.js / Test (windows-latest, 20)
- GitHub Check: Node.js / Test (windows-latest, 18.19.0)
- GitHub Check: Node.js / Test (windows-latest, 18)
- GitHub Check: Node.js / Test (windows-latest, 16)
- GitHub Check: Node.js / Test (macos-latest, 23)
- GitHub Check: Node.js / Test (macos-latest, 20)
- GitHub Check: Node.js / Test (macos-latest, 18)
🔇 Additional comments (1)
test/patch-structuredClone.cjs (1)
1-1
: LGTM! Proper CommonJS import for test environment.The CommonJS require statement is appropriate here given the .cjs file extension. Accessing the .default property correctly handles ES module interop.
🧰 Tools
🪛 eslint
[error] 1-1: Require statement not part of import statement.
(@typescript-eslint/no-var-requires)
Summary by CodeRabbit
Release Notes
Documentation
Dependencies
@arethetypeswrong/cli
to v0.17.3@vitest/coverage-v8
to v3.0.2vitest
to v3.0.2@ungap/structured-clone
v1.2.1Testing