bem-matchers
v1.0.2
Published
[![Build Status](https://travis-ci.org/just-boris/bem-matchers.svg?branch=master)](https://travis-ci.org/just-boris/bem-matchers)
Downloads
9
Readme
BEM-Matchers for Jasmine
Set of useful matchers to make your specs more readable.
For now, we have one matcher for you:
expect(block).toHaveMod(modName, [modVal])
Expect that passed block has following modifier. You can check the modifier value by passing the second argument.
If you will pass a non-BEM entity into expectation, you will get an exception.