-
Notifications
You must be signed in to change notification settings - Fork 4
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
refactor: Refactoring of detect Component best practices PR #127
refactor: Refactoring of detect Component best practices PR #127
Conversation
… name as test name Using the dir name as test name allows for use of 'only_' modifiers to control which tests are executed.
…eck TS-Components
Snapshots reflect unexpected behavior. Negative tests should have no findings while positive tests should show findings.
…string extraction
…terface flag Since the async interface is either used or not, the information whether it is "not set" is redundant and the "parent property not set" information is not applicable.
Use enum value for implicit searching
Test case |
if (!importClause.namedBindings) { | ||
// Example: import "sap/ui/core/library"; or import library from "sap/ui/core/library"; | ||
} else if (ts.isNamedImports(importClause.namedBindings)) { | ||
// Example: import { IAsyncContentCreation } from "sap/ui/core/library"; |
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.
There's also an edge case here- to rename the import 😅
import { IAsyncContentCreation: myRenamedAsyncFlag } from ...
The issue is that the |
Document test fixtures
d4261e8
to
a1c7b67
Compare
Great, thanks! Changed the fixture, and even fixed a bug |
No description provided.