matchers

Additional matchers for Jasmine

Usage no npm install needed!

<script type="module">
  import matchers from 'https://cdn.skypack.dev/matchers';
</script>

README

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')