Open History to see the last commit
1import { describe, expect, it } from 'vitest'
2
3import { camelCase } from '../../src/custom-add-ons/add-on.js'
4
5describe('camelCase', () => {
6 it('should convert a string to camel case', () => {
7 expect(camelCase('test-case')).toBe('TestCase')
8 expect(camelCase('demo.test-case')).toBe('DemoTestCase')
9 expect(camelCase('demo/test-case')).toBe('DemoTestCase')
10 expect(camelCase('demo/test/case')).toBe('DemoTestCase')
11 })
12})