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

File PartitionPattern.test.ts

packages/ecma402-abstract/tests/PartitionPattern.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {PartitionPattern} from '#packages/ecma402-abstract/PartitionPattern.js'
2import {expect, test} from 'vitest'
3test('PartitionPattern should partition pattern correctly', function () {
4 expect(PartitionPattern('AA{0}BB')).toEqual([

Callers

nothing calls this directly

Calls 2

PartitionPatternFunction · 0.85
testFunction · 0.50

Tested by

no test coverage detected