mistadikay / chai-bem

:package: Chai assertions for BEM class names
MIT License
19 stars 0 forks source link

Add complex bemjson assertion #3

Closed mistadikay closed 8 years ago

mistadikay commented 9 years ago
expect(DOMElement).to.be.a.bem({
   block: 'input',
   elem: 'icon',
   mix: {
      block: 'icon',
      mods: {
          type: 'arrow'
      }
   }
});
mistadikay commented 8 years ago

fixed in e180b0c41db2420d0712d5545c31f180fc66f7cd