MCPcopy 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

1import { pInt, toFixed, trimAll, upperFirst } from '@src/utils/str-num'
2
3test('pInt', () => {
4 expect(pInt('200px')).toBe(200)

Callers

nothing calls this directly

Calls 4

pIntFunction · 0.90
toFixedFunction · 0.90
trimAllFunction · 0.90
upperFirstFunction · 0.90

Tested by

no test coverage detected