-
Notifications
You must be signed in to change notification settings - Fork 604
Phase 2: Complete Migration of Existing Tape Tests to Vitest #470
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4d46ab3
Complete Phase 2: Migrate all existing tape tests to Vitest
theturtle32 b79d245
Updates to devcontainer and pnpm workspace
theturtle32 a4f0dba
Complete Phase 2.2: Comprehensive test helper infrastructure
theturtle32 4442865
Address code review feedback
theturtle32 f808d3d
Address latest Gemini code review feedback
theturtle32 30a7d69
Fix protocol mismatch test timeout issue
theturtle32 3d9ee2c
Do not add test-results.json to git
theturtle32 f41d2e8
Fix Promise reject parameter scope issue in test-server.mjs
theturtle32 f89e8ed
Address remaining Gemini code review feedback
theturtle32 895dcd7
Address final three unaddressed Gemini review comments
theturtle32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
onlyBuiltDependencies: | ||
- bufferutil | ||
- es5-ext | ||
- esbuild | ||
- utf-8-validate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"numTotalTestSuites":16,"numPassedTestSuites":16,"numFailedTestSuites":0,"numPendingTestSuites":0,"numTotalTests":13,"numPassedTests":12,"numFailedTests":1,"numPendingTests":0,"numTodoTests":0,"startTime":1749863409859,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":["","Vitest Setup Validation"],"fullName":" Vitest Setup Validation should run basic test","status":"passed","title":"should run basic test","duration":2,"failureMessages":[]},{"ancestorTitles":["","Vitest Setup Validation"],"fullName":" Vitest Setup Validation should access test configuration","status":"passed","title":"should access test configuration","duration":2,"failureMessages":[]},{"ancestorTitles":["","Vitest Setup Validation"],"fullName":" Vitest Setup Validation should handle async operations","status":"passed","title":"should handle async operations","duration":2,"failureMessages":[]},{"ancestorTitles":["","Vitest Setup Validation"],"fullName":" Vitest Setup Validation should support Buffer operations","status":"passed","title":"should support Buffer operations","duration":2,"failureMessages":[]}],"startTime":1749863500402,"endTime":1749863500404,"status":"passed","message":"","name":"/workspace/test/smoke.test.mjs"},{"assertionResults":[{"ancestorTitles":["","W3CWebSocket","Event Listeners with ws.onxxxxx"],"fullName":" W3CWebSocket Event Listeners with ws.onxxxxx should call event handlers in correct order","status":"passed","title":"should call event handlers in correct order","duration":63,"failureMessages":[]},{"ancestorTitles":["","W3CWebSocket","Event Listeners with ws.addEventListener"],"fullName":" W3CWebSocket Event Listeners with ws.addEventListener should support addEventListener with multiple listeners","status":"passed","title":"should support addEventListener with multiple listeners","duration":53,"failureMessages":[]}],"startTime":1749863410185,"endTime":1749863410302,"status":"passed","message":"","name":"/workspace/test/unit/browser/w3c-websocket.test.mjs"},{"assertionResults":[{"ancestorTitles":["","Historical Regressions","Issue 195"],"fullName":" Historical Regressions Issue 195 should not throw when passing number to connection.send()","status":"passed","title":"should not throw when passing number to connection.send()","duration":47,"failureMessages":[]}],"startTime":1749863440388,"endTime":1749863440435,"status":"passed","message":"","name":"/workspace/test/unit/regressions/historical.test.mjs"},{"assertionResults":[{"ancestorTitles":["","Connection Lifecycle"],"fullName":" Connection Lifecycle should handle TCP connection drop before server accepts request","status":"failed","title":"should handle TCP connection drop before server accepts request","duration":90049,"failureMessages":["Test timed out in 30000ms.\nIf this is a long-running test, pass a timeout value as the last argument or configure it globally with \"testTimeout\".","Test timed out in 30000ms.\nIf this is a long-running test, pass a timeout value as the last argument or configure it globally with \"testTimeout\".","Test timed out in 30000ms.\nIf this is a long-running test, pass a timeout value as the last argument or configure it globally with \"testTimeout\"."]}],"startTime":1749863410186,"endTime":1749863500235,"status":"failed","message":"","name":"/workspace/test/unit/core/connection-lifecycle.test.mjs"},{"assertionResults":[{"ancestorTitles":["","WebSocketFrame","Frame Serialization"],"fullName":" WebSocketFrame Frame Serialization should serialize a WebSocket Frame with no data","status":"passed","title":"should serialize a WebSocket Frame with no data","duration":4,"failureMessages":[]},{"ancestorTitles":["","WebSocketFrame","Frame Serialization"],"fullName":" WebSocketFrame Frame Serialization should serialize a WebSocket Frame with 16-bit length payload","status":"passed","title":"should serialize a WebSocket Frame with 16-bit length payload","duration":4,"failureMessages":[]},{"ancestorTitles":["","WebSocketFrame","Frame Serialization"],"fullName":" WebSocketFrame Frame Serialization should serialize a WebSocket Frame with 64-bit length payload","status":"passed","title":"should serialize a WebSocket Frame with 64-bit length payload","duration":4,"failureMessages":[]}],"startTime":1749863410192,"endTime":1749863410196,"status":"passed","message":"","name":"/workspace/test/unit/core/frame.test.mjs"},{"assertionResults":[{"ancestorTitles":["","WebSocketRequest"],"fullName":" WebSocketRequest can only be rejected or accepted once","status":"passed","title":"can only be rejected or accepted once","duration":30044,"failureMessages":["Test timed out in 30000ms.\nIf this is a long-running test, pass a timeout value as the last argument or configure it globally with \"testTimeout\"."]},{"ancestorTitles":["","WebSocketRequest"],"fullName":" WebSocketRequest should handle protocol mismatch gracefully","status":"passed","title":"should handle protocol mismatch gracefully","duration":16,"failureMessages":[]}],"startTime":1749863410184,"endTime":1749863440228,"status":"passed","message":"","name":"/workspace/test/unit/core/request.test.mjs"}]} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.