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

Fix missing dependencies and refactor to really prevent in the future #186

Merged
merged 1 commit into from
May 24, 2019

Conversation

garretfick
Copy link
Contributor

@matthewdfuller

A recent commit broke dependencies - @octocat/app is now required, but it is not in package.json.

This change adds that dependency and moves some code to a function so that nearly everything is callable from a test. I verified that the test fails if the dependency is not defined, so I'm certain that this will substantially reduce the risk in the future.

The moved code has no functional changes - it is just moved so that I can call from a unit test. However, this change is useful for the future so that it's possible to write more comprehensive tests.

@garretfick
Copy link
Contributor Author

I suspect that travis is not running all tests, but I propose to address that after pull request #185 since that also modifies the travis integration

@matthewdfuller matthewdfuller merged commit be91b2d into aquasecurity:master May 24, 2019
@garretfick garretfick deleted the feature/DEPENDENCIES branch May 24, 2019 13:16
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