Skip to content

Commit

Permalink
Get expected radix library version from component
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf committed Nov 12, 2024
1 parent 7338e8f commit 8c405de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/units/components/core/test_banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ConnectionPulser,
WebsocketTargetURL,
)
from reflex.components.radix.themes.base import RadixThemesComponent
from reflex.components.radix.themes.typography.text import Text


Expand All @@ -24,7 +25,7 @@ def test_connection_banner():
"react",
"$/utils/context",
"$/utils/state",
"@radix-ui/themes@^3.0.0",
RadixThemesComponent().library or "",
"$/env.json",
)
)
Expand All @@ -42,7 +43,7 @@ def test_connection_modal():
"react",
"$/utils/context",
"$/utils/state",
"@radix-ui/themes@^3.0.0",
RadixThemesComponent().library or "",
"$/env.json",
)
)
Expand Down

0 comments on commit 8c405de

Please sign in to comment.