Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rollup/plugins
/ makeLegalIdentifier.ts
File
makeLegalIdentifier.ts
packages/pluginutils/test/makeLegalIdentifier.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ makeLegalIdentifier } from
'../'
;
2
3
test(
'camel-cases names'
, () => {
4
expect(makeLegalIdentifier(
'foo-bar'
)).toBe(
'fooBar'
);
Callers
nothing calls this directly
Calls
2
test
Function · 0.85
makeLegalIdentifier
Function · 0.85
Tested by
no test coverage detected