blakeembrey / blakeembrey/change-case

`outletGSId` becomes `outletGsId` through camel case

Open
#344 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
106
PR merge metrics
No merged PRs in 30d

Description

`outletGSId` becomes `outletGsId` through camel case function, when in theory I would expect it to do nothing with the value 🤔 Am I missing something here?

Here are the test-case I am running:

```
"change-case": "^5.4.4",
```

```
import {
camelCase
} from 'change-case';
describe('camelCase', () => {
test('should not change outletGSId', () => {
const content = camelCase('outletGSId');
expect(content).toEqual('outletGSId');
});
});
```

Related to https://github.com/blakeembrey/change-case/issues/2
Raised in https://github.com/asyncapi/modelina/issues/2080

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the camelCase entry point and trace how the supplied `outletGSId` value is split and recombined. Run the provided test case and compare its result with the expected unchanged value; done means the regression is covered and the test passes without breaking other camel-case behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.