Davis W. Frank 0ac497db6b Simplifying toThrow:
- It still supports no expected, which means that something was thrown
- Expected value is now tested via equality in order to pass

Adding toThrowError:
- toThrowError() passes if an Error type was thrown
- toThrowError(String) & toThrowError(RegExp) compare Expected to the Error message
- toThrowError(Error constructor) compares Expected to the constructor of what was thrown
- toThrowError(Error constructor, String) & toThrowError(Error constructor, RegExp) compares both the Error and the message

Also, equality now handles Errors, enforcing the message as part of the equality.
2013-06-03 09:24:43 -07:00
2011-05-06 22:40:53 -04:00
2013-06-03 09:24:43 -07:00
2013-06-03 09:24:43 -07:00
2013-06-03 09:24:43 -07:00
2013-03-01 14:28:18 -08:00
2012-12-03 09:38:54 -08:00
2013-04-01 11:35:22 -07:00
2013-05-21 11:47:47 -07:00
2011-03-09 08:16:47 -08:00

Jasmine Build Status

======= A JavaScript Testing Framework

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

Documentation & guides live here: http://pivotal.github.com/jasmine/

Contributing

Please read the contributors' guide

Support

Maintainers

Copyright (c) 2008-2013 Pivotal Labs. This software is licensed under the MIT License.

Description
No description provided
Readme 28 KiB