Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/formatjs/formatjs
/ index.test.ts
File
index.test.ts
packages/intl-localematcher/tests/index.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{match} from
'#packages/intl-localematcher/index.js'
2
import
{expect, test} from
'vitest'
3
test(
'zh-HK'
,
function
() {
4
// zh-HK matches zh-HANT (returns original supported locale string as-is)
Callers
nothing calls this directly
Calls
2
match
Function · 0.85
test
Function · 0.50
Tested by
no test coverage detected