MCPcopy Create free account
hub / github.com/antfu/utils / string.test.ts

File string.test.ts

src/string.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, it } from 'vitest'
2import { capitalize, ensurePrefix, ensureSuffix, slash, template, unindent } from './string'
3
4it('template', () => {

Callers

nothing calls this directly

Calls 6

templateFunction · 0.90
slashFunction · 0.90
ensurePrefixFunction · 0.90
ensureSuffixFunction · 0.90
capitalizeFunction · 0.90
unindentFunction · 0.90

Tested by

no test coverage detected