7 lines
No EOL
298 B
TypeScript
7 lines
No EOL
298 B
TypeScript
import { normalizeUsername } from '../input';
|
|
|
|
test('normalizeUsername', () => {
|
|
expect(normalizeUsername('@alex')).toBe('alex');
|
|
expect(normalizeUsername('alex@alexgleason.me')).toBe('alex@alexgleason.me');
|
|
expect(normalizeUsername('@alex@gleasonator.com')).toBe('alex@gleasonator.com');
|
|
}); |