+
{String(auth.isAuthenticated)}
+
{String(auth.isLoading)}
+
{auth.user?.id || 'null'}
+
{auth.user?.name || 'null'}
+
+ );
+}
+
+describe('AuthProvider with enabled prop', () => {
+ it('should bypass authentication when enabled=false', async () => {
+ render(
+