Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ expect, it } from
'vitest'
2
import
{ capitalize, ensurePrefix, ensureSuffix, slash, template, unindent } from
'./string'
3
4
it(
'template'
, () => {
Callers
nothing calls this directly
Calls
6
template
Function · 0.90
slash
Function · 0.90
ensurePrefix
Function · 0.90
ensureSuffix
Function · 0.90
capitalize
Function · 0.90
unindent
Function · 0.90
Tested by
no test coverage detected