policy-bot
policy-bot copied to clipboard
feature: Validate incoming policy definition in PR changes
Fixes https://github.com/palantir/policy-bot/issues/362
I looked for tests that exercise this code but couldn't find them. What is the best way to test this?
Unfortunately, the best way to test handler code is with a running instance. We don't have any kind of tests that use mock GitHub events at this time. If you don't have a local dev instance, we can probably test in staging after merging this.