Skip to content
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

feat: define database StatementPart, add identifierChain to TablesSuggestion, remove useless totos, migrate drop tests to typescript #96

Merged
merged 6 commits into from
Nov 30, 2023

Conversation

NikitaShkaruba
Copy link
Collaborator

part of #85

@NikitaShkaruba NikitaShkaruba self-assigned this Nov 30, 2023
@NikitaShkaruba NikitaShkaruba force-pushed the 85/drop_tests_refactoring branch from d733d98 to 685a6c1 Compare November 30, 2023 14:09
@NikitaShkaruba NikitaShkaruba changed the title refactor: migrate drop tests to typescript feat: define database StatementPart, add identifierChain to TablesSuggestion, remove useless totos, migrate drop tests to typescript Nov 30, 2023
{ value: 'TABLE', weight: -1 },
{ value: 'VIEW', weight: -1 },
];
expect(parseResult.suggestKeywords).toEqual(suggestions)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've decided to move those tests closer to their definition. Even though it can be separated to alter_table, alter_view files. But the actual code that suggests it is alter_common, so it's better this way.

@NikitaShkaruba NikitaShkaruba merged commit 47a18c2 into main Nov 30, 2023
4 checks passed
@NikitaShkaruba NikitaShkaruba deleted the 85/drop_tests_refactoring branch November 30, 2023 14:50
This was referenced Nov 30, 2023
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