We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e297803 commit 72abea4Copy full SHA for 72abea4
1 file changed
src/components/helper.test.ts
@@ -1,3 +1,4 @@
1
+import { describe, it, expect } from '@jest/globals';
2
import { normalizeMethodName } from './helper';
3
4
describe('normalizeMethodName', () => {
@@ -11,12 +12,7 @@ describe('normalizeMethodName', () => {
11
12
expect(normalizeMethodName('foo.bar.baz')).toBe('fooBarBaz');
13
});
14
- it('handles both dots and underscores', () => {
15
- expect(normalizeMethodName('foo_bar.baz_qux')).toBe('fooBarBazQux');
16
- });
17
-
18
it('capitalizes only subsequent parts', () => {
19
- expect(normalizeMethodName('hello.world')).toBe('helloWorld');
20
expect(normalizeMethodName('one.two.three')).toBe('oneTwoThree');
21
22
0 commit comments