matchers

Additional matchers for Jasmine

npm install matchers
2 downloads in the last week
4 downloads in the last month

Matchers

For use with the jasmine test library, fills in the gaps with the default jasmine matchers.

New matchers include:

toBeNaN

toBeFinite

toBeInfinite

toBeNumber

toBeString

toBeDate

toBeArray

toBeObject

toBeFunction

toBeElement

Browser

<script type='text/javascript' src='matchers.js'>

Node

Install matchers with npm

npm install matchers

And require it in your specs

require('matchers')

npm loves you