1.0.11 • Published 9 years ago

jasmine2-matchers v1.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Custom Matchers for Jasmine2 Build Status

Matchers

toBeANumber()
toBeAString()
toBeAnArray()
toBeEmpty()
toBeAnInstanceOf(constructor: Function)
toBeOfType(type: string)
toBeOneOf(lists)

toThrowAnError(name: string)

Infos

This repository simply add custom matchers to Jasmine, unlike all the other (that I have found) this is specialy design for Jasmine2.

If you are using Typescript you can use the provide definition in the definitions directory.

If you are using dtsm simply add this into your npm dependencies and dtsm link npm it.

Feel free to add any matcher you want.

RoadMap

  • Change error message
  • Add unit tests
  • Create a script that generate the definition
  • What peole will ask
1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago