policy-bot icon indicating copy to clipboard operation
policy-bot copied to clipboard

feature: Validate incoming policy definition in PR changes

Open bmoylan opened this issue 2 years ago • 1 comments

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?

bmoylan avatar Jul 01 '22 02:07 bmoylan

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.

bluekeyes avatar Jul 06 '22 23:07 bluekeyes