-
Notifications
You must be signed in to change notification settings - Fork 216
add additional extensions, clean #569
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
add additional extensions, clean #569
Conversation
@vanjabucic please see into the failed tests |
Looks good. Can you add some tests? |
@vanjabucic are you still interested in finishing this PR? |
Not sure how to write tests for such a minor code shuffle ... |
It's a new feature off by default. This means not many people will be actively testing it and having no test coverage means more maintenance pressure for the team. |
The way extension handling is/has been done means that the state remains unaffected. Extensions are hard-coded, sent to server via RPC, and checked against inline. Extensions are never parsed and added to the server state. Could not find a way to test server state because of that. (should extension list be carried in the server state? that can be done if desired) What I did was to add a test that verifies that a non-standard-extension file will trigger a build when changed. That should cover it when combined with other existing tests that work on hard-coded file extensions. Take a look and tell me if that is enough or on the right track. |
Thanks |
Linked issue: #567