Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barrior/JParticles
/ str-num.spec.ts
File
str-num.spec.ts
test/unit/utils/str-num.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ pInt, toFixed, trimAll, upperFirst } from
'@src/utils/str-num'
2
3
test(
'pInt'
, () => {
4
expect(pInt(
'200px'
)).toBe(200)
Callers
nothing calls this directly
Calls
4
pInt
Function · 0.90
toFixed
Function · 0.90
trimAll
Function · 0.90
upperFirst
Function · 0.90
Tested by
no test coverage detected