Elenore Bastian
12a47f05bf
Suite level errors all report the same way (on suiteDone)
...
- For `beforeAll`, `afterAll`, and declaration errors
[#150118881 ] #1409
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-23 10:15:28 -08:00
Steve Gravrock
cf2f922e30
Merge branch 'master' into 3.0-features
2018-01-10 15:28:55 -08:00
Steve Gravrock
65b4499dec
In Jasmine's own tests, don't leak between jasmine and jasmineUnderTest
2017-12-20 12:08:22 -08:00
Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00
Steve Gravrock
a3cb010971
Removed remaining traces of the obsolete console reporter
...
[#80410262 ]
2017-11-07 20:09:04 -08:00
Zaven Muradyan
62f769767a
Add support for jasmine.any(Symbol).
...
The original asymmetric matcher code for Any did not work with symbols
since `symbolInstance instanceof Symbol` is actually `false` (but,
`symbolInstance.constructor` is `Symbol). This simply adds an extra
clause that explicitly checks for symbol (if available) like the other
primitive types.
Also added some missing specs for other types, like Map, Set, etc.
Fixes #1431 .
2017-10-23 20:07:56 -07:00
ksvitkovsky
4fc177d5ae
Better pretty printing for typed arrays
2017-08-04 09:33:05 -07:00
Gregg Van Hove
2ea4e9507c
Merge branch 'map-support' of https://github.com/rmehlinger/jasmine into rmehlinger-map-support
...
- Merges #1340 from @rmehlinger
- Fixes #1257
2017-05-19 14:19:14 -07:00
Steve Gravrock
9672689d40
Added support for ES2017 async functions
2017-05-12 14:42:14 -07:00
rmehlinger
5ee03f02ed
Add ES6 map support to Jasmine
2017-05-01 00:12:48 -07:00
Gregg Van Hove
5279e7a8c4
Checking for Set isn't browser dependant
2016-09-27 16:11:43 -07:00
Gregg Van Hove
8624a52ee0
Don't auto install phantom since it doesn't seem to work on travis
2016-09-07 15:48:20 -07:00
Gregg Van Hove
320c42b6cc
Run jasmine's specs randomly in node and performance specs
...
[#92249258 ]
2015-11-04 12:30:49 -08:00
Gregg Van Hove
df45b4fede
Run jasmine's specs in random order
...
[#92249258 ]
2015-11-04 12:06:28 -08:00
slackersoft
18eb6e2f36
Don't run npm package specs in browsers
2014-08-26 13:18:16 -07:00
slackersoft
ea57ad97cf
Add some tests to make sure we're packaging up the npm properly
2014-08-26 08:08:04 -07:00
Christopher Amavisca and Davis W Frank
e53b487017
- Add a main entry point for the jasmine-core npm
...
- jasmine-core can now self test with the jasmine-npm
- Add node examples files
- Add node_boot.js for node environment
- Move jasmine-core npm packaging to .npmignore
- removing src_dir and src_files from jasmine.json b/c jasmine-npm does not support requiring source files automatically.
2014-03-21 17:21:52 -07:00
Christopher Amavisca and Sheel Choksi
9d1e92f5e2
Clean up more remnants of dev_boot
2014-02-27 18:02:14 -08:00
Christopher Amavisca and Sheel Choksi
305bd73142
Instead of dev boot use a custom helper to defined j$
2014-02-26 17:35:10 -08:00
Sheel Choksi
cb5aea1fcf
Fix builds by working around browser timing functions not being successfully overridden
2013-10-29 17:32:04 -07:00
Sheel Choksi
a3424ea265
Remove addCustomEqualityTester and addMatchers from global
...
These functions are available on the jasmine namespace
2013-10-24 14:00:05 -07:00
Sheel Choksi
d06da150de
Stop passing in queryString to HTMLReporter, it is unused
2013-10-23 11:06:42 -07:00
Davis W. Frank
5aaafed4d8
Move clock from global to jasmine; provide a function to access the clock.
2013-10-10 16:24:58 -07:00
slackersoft
e91d0341a4
Revert "Make addCustomEqualityTester available on jasmine global"
...
Oops, this made it on global object, not `jasmnie`
This reverts commit 144ff174f6 .
2013-10-06 11:11:46 -07:00
slackersoft
144ff174f6
Make addCustomEqualityTester available on jasmine global
...
- User shouldn't have to `jasmine.getEnv()` to add one
2013-10-06 11:05:35 -07:00
Gregg Van Hove and Tim Jarratt
a563e67015
Move selenium_runner.yml to spec/javascripts/support
...
- The selenium runner gem should support configurable path as the main
gem does so we don't need to do this. This workaround is kind of
gross.
2013-10-02 16:48:13 -07:00
Gregg Van Hove and Tim Jarratt
fab489851e
Fix paths for node specs
...
[#58126010 ]
2013-10-02 16:41:07 -07:00
Gregg Van Hove and Tim Jarratt
1c19b8e38a
Move spec files back out of spec/javascripts
...
- Jasmine gem allows us to specify a path to jasmine.yml via ENV
[finish #58126010 ]
2013-10-02 16:32:35 -07:00
Gregg Van Hove and Rajan Agaskar
5017d1a4f1
Make rake jasmine:ci run specs correctly.
...
- Will replace rake core_specs.
- Remove obsolete dependencies & files -- most of these were for build tasks we
are no longer using. Notably, rspec and spec_helper were deleted.
2013-09-25 10:11:02 -07:00
Davis W. Frank
ba55cb5e38
Mock clock now less intrusive, replacing global timer funcions only when clock is installed. [ Fixes #54168708 ]
2013-08-27 22:46:01 -07:00
Colin O'Byrne and JR Boyens
051f3499ec
Revert "[Finishes #45476285 ] Add timeout support to async tests"
...
This reverts commit 8f5d0beb8c .
Async timeout support is just not ready for prime time.
2013-07-24 14:39:06 -07:00
Colin O'Byrne and JR Boyens
8f5d0beb8c
[Finishes #45476285 ] Add timeout support to async tests
2013-07-23 17:07:02 -07:00
Sheel Choksi
5b986c953c
Remove symlinked boot.js from spec/support
...
[Finishes #52810587 ]
2013-07-11 21:29:28 -07:00
Davis W. Frank and Sheel Choksi
179e54b9fb
Refactor suite timing out of Env and into each Reporter
...
[finishes #45659879 ]
2013-07-03 09:30:05 -07:00
Davis W. Frank
aca43bd3a3
Squashed commit of work to make Jasmine a collection of isolated modules. Note now that in our test suite, "jasmine" now always refers to the build jasmine loaded from jasmine.js and "j$" always refers to the code in the src directories.
...
Also, dev_boot.js is now a copy of boot.js and has additional changes to load jasmine the second time, into the j$ reference.
2013-05-28 14:09:20 -07:00
Davis W. Frank
668dd784ef
Remove jasmine.util.extend
2012-12-08 11:48:11 -08:00
Davis W. Frank & Rajan Agaskar
e2af08e0a6
Move most jasmine global usage into boot.
...
- thor build scripts broken for now.
2012-12-03 15:46:26 -08:00