kgabryje commented on code in PR #31575:
URL: https://github.com/apache/superset/pull/31575#discussion_r1905804666


##########
superset-frontend/src/components/Label/Label.test.tsx:
##########
@@ -38,6 +38,6 @@ test('works with an onClick handler', () => {
 test('renders all the storybook gallery variants', () => {
   const { container } = render(<LabelGallery />);
   expect(container.querySelectorAll('.ant-tag')).toHaveLength(
-    options.length * 2,
+    options.length * 2 + 4,

Review Comment:
   Can we use a named constant for that `+4`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to