import { assert } from "chai" ; import * as helpers from "." ; suite ( "camelize" , function ( ) { const tests = { foo : "foo" , "one-two-three" : "oneTwoThree" , oneTwoThree : "oneTwoThree" , } ; for ( const [ give , want ] of Object . entries ( tests ) ) { test ( `${ give } --> ${ want }` , function ( ) { assert . equal ( helpers . camelize ( give ) , want ) ; } ) ; } } ) ;