Home Reference Source Test

test/utility.js

  1. import { identifierOf } from '../source/utility';
  2.  
  3.  
  4. describe('Utility methods', () => {
  5. /**
  6. * @test {identifierOf}
  7. */
  8. it(
  9. 'Tag name to Class name',
  10. () => identifierOf('example-js', true).should.be.equal('ExampleJs')
  11. );
  12. });