Sheel Choksi 7d93541c09 Throw a more specific error when 'expect' is used without a currentSpec
If an async test has timed-out, there could still be some expectations
that are scheduled to run after the fact in which case curerntSpec will
be null. Rather than the type error that would result, we now indicate
that 'expect' was used at an unexpected time.

This also helps cases where an 'expect' is being used at a top-level,
showing an error message in the console for this case as well.

[fixes #602]
2014-06-06 23:49:58 -07:00
2014-06-06 23:09:08 -07:00
2014-03-11 13:40:28 -07:00
2012-12-03 09:38:54 -08:00
2014-03-12 13:46:25 -07:00
2013-08-06 08:04:37 -07:00
2014-02-16 14:57:14 -08:00
2014-03-11 13:40:28 -07:00
2014-03-11 13:40:28 -07:00

Build Status Code Climate

=======

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://jasmine.github.io
For a quick start guide of Jasmine 2.0, see the beginning of http://jasmine.github.io/2.0/introduction.html

Upgrading from Jasmine 1.x? Check out the 2.0 release notes for a list of what's new (including breaking interface changes).

Contributing

Please read the contributors' guide

Support

Maintainers

Maintainers Emeritus

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

Description
No description provided
Readme 68 GiB
Languages
JavaScript 94.8%
TypeScript 2.4%
Vue 1.1%
CSS 0.9%
SCSS 0.5%
Other 0.2%