This PR fixes the unit test that was checking for empty rules.
We are currently exporting two hardcoded rules, which were breaking the existing test. I also moved the call to onRulesJSONChanged from the RuleList constructor to the componentDidMount lifecycle function.
This PR fixes the unit test that was checking for empty rules.
We are currently exporting two hardcoded rules, which were breaking the existing test. I also moved the call to
onRulesJSONChanged
from theRuleList
constructor to thecomponentDidMount
lifecycle function.Test Plan
Verify all tests pass.