9 lines
274 B
JavaScript
9 lines
274 B
JavaScript
import { getCountryFlag } from '../flag';
|
|
|
|
describe('#flag', () => {
|
|
it('returns the correct flag ', () => {
|
|
expect(getCountryFlag('cz')).toBe('🇨🇿');
|
|
expect(getCountryFlag('IN')).toBe('🇮🇳');
|
|
expect(getCountryFlag('US')).toBe('🇺🇸');
|
|
});
|
|
});
|