🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

bem-matchers

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bem-matchers

[![Build Status](https://travis-ci.org/just-boris/bem-matchers.svg?branch=master)](https://travis-ci.org/just-boris/bem-matchers)

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

BEM-Matchers for Jasmine

Build Status

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.

Keywords

jasmine

FAQs

Package last updated on 22 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts