🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { describe, expect, it } from 'vitest';
import { isGithubRepoUrl } from './githubRepoUrl';
describe('isGithubRepoUrl', () => {
it('accepts a repo URL padded with whitespace', () => {
expect(isGithubRepoUrl(' https://github.com/lobehub/lobehub\n')).toBe(true);
});
it('rejects non-GitHub URLs', () => {
expect(isGithubRepoUrl('https://gitlab.com/lobehub/lobehub')).toBe(false);
});
});