Files
gridpilot.gg/apps/website/lib/utilities/country.test.ts
2026-01-01 22:46:59 +01:00

13 lines
320 B
TypeScript

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('🇺🇸');
});
});