matchers

Additional matchers for Jasmine

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

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

Install matchers with npm

npm install matchers

And require it in your specs

require('matchers')