PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.21
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.21
1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 All 184 releases
← All changes | backend/views/components/Analytics/__tests__/components/StatCard.test.jsx +2 -2 1.4.13 → 1.4.21 View file →
@@ -51,9 +51,9 @@
51 51 expect(screen.queryByText('$45,230.50')).not.toBeInTheDocument();
52 52
53 53 // Should have pulse animation elements
54 54 const pulseElements = container.querySelectorAll(
55 - '.disco-animate-pulse'
55 + '.disco\\:animate-pulse'
56 56 );
57 57 expect(pulseElements.length).toBeGreaterThanOrEqual(2);
58 58 });
59 59
@@ -60,9 +60,9 @@
60 60 it('renders with different variants', () => {
61 61 const { container } = render(
62 62 <StatCard {...defaultProps} variant="campaigns" />
63 63 );
64 - expect(container.firstChild).toHaveClass('disco-bg-[#f3efff]');
64 + expect(container.firstChild).toHaveClass('disco:bg-[#f3efff]');
65 65 });
66 66
67 67 it('handles fallback value "--" correctly', () => {
68 68 render(<StatCard {...defaultProps} value="--" />);