fix issues
This commit is contained in:
12
apps/website/lib/utilities/country.test.ts
Normal file
12
apps/website/lib/utilities/country.test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { getCountryFlag } from './country';
|
||||
|
||||
describe('country', () => {
|
||||
it('should be defined', () => {
|
||||
expect(getCountryFlag).toBeDefined();
|
||||
});
|
||||
|
||||
it('should return a flag for 2-letter codes', () => {
|
||||
expect(getCountryFlag('us')).toBe('🇺🇸');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user