MCPcopy Index your code
hub / github.com/formatjs/formatjs / countryCodes.test.ts

File countryCodes.test.ts

packages/utils/tests/countryCodes.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {canonicalizeCountryCode} from '#packages/utils/countryCodes'
2import {expect, test} from 'vitest'
3test('canonicalizeCountryCode', () => {
4 expect(canonicalizeCountryCode('USA')).toBe('US')

Callers

nothing calls this directly

Calls 2

canonicalizeCountryCodeFunction · 0.90
testFunction · 0.50

Tested by

no test coverage detected