Remove log in condition in CreditsDialog

This commit is contained in:
Alex Gleason committed 2025-09-19 23:23:02 -05:00
1 parent efd7c3901b
commit d4ea9bf1bd
2 files changed
+2 -30

No files matched your search

-13
View File
@@ -80,20 +80,7 @@ describe('CreditsDialog', () => {
expect(screen.getByText('$100')).toBeInTheDocument();
});
it('shows login requirement when user is not logged in', () => {
render(
<TestApp>
<CreditsDialog
open={true}
onOpenChange={() => {}}
providerId="test-provider"
connection={mockConnection}
/>
</TestApp>
);
expect(screen.getByText('Please log in to purchase credits')).toBeInTheDocument();
});
it('calls onDialogStateChange callback when dialog state changes', () => {
const mockCallback = vi.fn();