Skip to content

Commit 2455768

Browse files
ShadowCat567Vieltojarvi
andauthored
Adding test case to screaming snake case (#3037)
Adding test case to screaming snake case test _By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license._ --------- Co-authored-by: Vieltojarvi <[email protected]>
1 parent bf95778 commit 2455768

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/easy-bats-admire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@aws-amplify/platform-core': patch
3+
---
4+
5+
update screaming snake case test

packages/platform-core/src/naming_convention_conversions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ void describe('screaming snake conversions', () => {
1313
{ input: 'testTest', expected: 'TEST_TEST' },
1414
{ input: 'test3-te3st', expected: 'TEST_3_TE_3_ST' },
1515
{ input: 'test Test_Test-test TEST', expected: 'TEST_TEST_TEST_TEST_TEST' },
16+
{ input: 'tEsT-teST', expected: 'T_ES_T_TE_ST' },
1617
];
1718
testCases.forEach((testCase) => {
1819
void it(`should successfully convert ${testCase.input} to ${testCase.expected}`, () => {

0 commit comments

Comments
 (0)