test(linter/prefer-namespace-keyword): remove test case with invalid syntax#15833
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR removes an invalid test case from the prefer-namespace-keyword linter rule that was causing a parse error rather than testing the intended rule behavior.
- Removed test case with invalid syntax
"module foo.'a'"that produced a parse error - Removed corresponding snapshot entry showing "Unexpected token" error
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/oxc_linter/src/rules/typescript/prefer_namespace_keyword.rs | Removed invalid test case "module foo.'a'" from the fail test cases |
| crates/oxc_linter/src/snapshots/typescript_prefer_namespace_keyword.snap | Removed corresponding snapshot output for the invalid test case showing parse error |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
1ea734c to
f7ef032
Compare
CodSpeed Performance ReportMerging #15833 will not alter performanceComparing Summary
Footnotes
|

No description provided.