Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coupon details refactor and testing (#578)
* Move logic to helper functions and test them * Move action button to a separate component * Use constants for button labels * Use index numbers for test names * Replace ActionButton Use tested component * Test shouldShowStatusAlert * Test default states for bulk actions * Fix error that occurs if ecommerce is in a weird state by adding defaults for when there is no response from the server * Move filters to a separate component Eventually, this component should handle more of the details of changing filters Update to modern Paragon components to avoid console errors * Move BulkActions to a separate component * Update BulkActionSelect to modern component refactor how table columns are set * Remove code visibility This feature was never used and is not a priority * Update CouponDetails tests Update Paragon and snapshots * Rename constants
- Loading branch information