Untuck tests out of __tests__ directories, colocate with program files
This commit is contained in:
7
src/utils/input.test.ts
Normal file
7
src/utils/input.test.ts
Normal file
@ -0,0 +1,7 @@
|
||||
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');
|
||||
});
|
||||
Reference in New Issue
Block a user