Steve Gravrock
e2d9eefccd
Line-break long expectation failure messages
...
This makes failures somewhat easier to read. We still preserve whitespace
within lines to make whitespace-only failures readable, e.g.
expect('foo bar').toEqual('foo bar'). See #296 .
2018-05-12 09:42:38 -07:00
Gregg Van Hove
ced2b114e4
Better detection of DOM Nodes for equality
...
- Also use JSDom if a real one isn't present to get some more coverage
there
- Fixes #1172
2018-05-04 18:01:08 -07:00
Gregg Van Hove
01a1113387
Merge branch 'yinm-fix-typo'
...
- Merges #1555 from @yinm
2018-05-03 17:21:18 -07:00
Gregg Van Hove
d6cfc4a9b5
Merge branch 'riophae-master'
...
- Merges #1551 from @riophae
2018-05-02 17:52:03 -07:00
Gregg Van Hove
7e14a97371
Explicitly pass in timing functions in mock clock integration specs
...
- This way we can make sure that clear stack always works no matter
how long the suite in the spec is
[fixes #153518103 ]
2018-04-23 17:25:11 -07:00
Gregg Van Hove
c440d13754
Use the same global for everything in Env
...
- No longer use `getGlobal` for clearStack and QueueRunner
2018-04-13 17:14:48 -07:00
Gregg Van Hove
a978f50f1d
name new global status stuff correctly in API docs
2018-04-02 17:20:39 -07:00
Steve Gravrock
74287c578c
Check for accidental global variable creation
2018-03-25 12:01:50 -07:00
Steve Gravrock
7f1cdc2d02
Fixed global variable leak
...
- Fixes #1534
2018-03-25 12:00:56 -07:00
Steve Gravrock
847a959b13
Merge branch 'handle-rejection' of https://github.com/johnjbarton/jasmine
...
- Merges #1521 from @johnjbarton
2018-03-24 19:49:58 -07:00
Steve Gravrock
05015a8b3e
Correctly format stack traces for errors with multiline messages
...
- Fixes #1526
2018-03-10 12:03:08 -08:00
Steve Gravrock
6f960d8662
Merge branch 'better-array-errors' of https://github.com/majidmade/jasmine
...
- Merges #1527 from @majidmade
- Fixes #1485
2018-03-10 07:42:34 -08:00
Gregg Van Hove
85b2a8c6c4
add some links to more tutorials from the api docs
2018-03-01 10:48:18 -08:00
Gregg Van Hove
ee52023b3d
Bump version to 3.1
2018-02-27 11:57:20 -08:00
Gregg Van Hove
1923461b09
Ignore more browser fields when formatting Errors
...
- description from IE
- column from Safari
2018-02-27 09:52:19 -08:00
Gregg Van Hove
63cc7cafc8
Use Jasmine's arrayContains, instead of includes for better support
2018-02-26 17:57:37 -08:00
Gregg Van Hove
fdecf02472
Merge branch 'print_exception_properties' of https://github.com/jbunton-atlassian/jasmine into jbunton-atlassian-print_exception_properties
...
- Merges #1516 from @jbunton-atlassian
2018-02-26 17:48:28 -08:00
Steve Gravrock
1ac2a6f608
Allow node to report load time errors
...
[Fixes #153466462 ]
2018-02-17 15:45:42 -08:00
Gregg Van Hove
c974c4740c
Merge branch 'master' of https://github.com/sjolicoeur/jasmine into sjolicoeur-master
...
- Merges #1460 from @sjolicoeur
2018-02-15 16:00:33 -08:00
Gregg Van Hove
2b27bd393f
Add API docs for async reporters
2018-02-15 14:36:29 -08:00
Gregg Van Hove
3b77f38188
Return <anonymous> for functions that have no actual words between keyword and (
...
- Also fixes a potential catastrophic backtracking if someone has
severely damaged their own `toString` during test execution.
2018-02-15 12:31:10 -08:00
Steve Gravrock
11827572d3
Moved toHaveClass matcher into core so that it can be used in Karma
...
- Fixes #1503
2018-02-13 17:09:42 -08:00
Gregg Van Hove
8326ecf919
Merge branch 'deprecation-object' of https://github.com/UziTech/jasmine into UziTech-deprecation-object
...
- Merges #1498 from @UziTech
2018-02-13 16:57:24 -08:00
Gregg Van Hove
83beca6899
Merge branch '2.99-patch'
2018-02-09 09:32:09 -08:00
Gregg Van Hove
3c6308f1dc
Don't include the specs in the ruby gem
...
- Bump to 2.99.2 for gem
2018-02-09 09:22:35 -08:00
Gregg Van Hove
fa6a80b76e
Merge branch 'master' of https://github.com/aptx4869/jasmine into aptx4869-master
...
- Merges #1501 from @aptx4869
2018-02-08 10:22:36 -08:00
aptx4869
4fcd4099ad
Resolve merge conflict
...
Fixes #1500
2018-02-08 15:07:29 +08:00
Gregg Van Hove
fbec3cc230
Only show deprecation for catch exceptions if you tell Jasmine not to catch
...
- Fixes #1497
2018-02-07 14:47:10 -08:00
Gregg Van Hove
4530f9431f
Generate combined file with new version numbers
2018-02-06 10:33:39 -08:00
Gregg Van Hove
d4b76a4d3b
version bump to 3.0
2018-02-06 09:33:49 -08:00
Gregg Van Hove
764d58a7f5
Merge branch 'master' into 3.0-features
...
- cleaning up 2.99 deprecations
2018-02-06 09:31:51 -08:00
Gregg Van Hove
9911d37f06
bump version to 2.99
2018-02-05 16:57:51 -08:00
Gregg Van Hove
c142490c69
Add deprecation messages for things that will change/break in 3.0
...
[#154746527 ]
2018-02-05 14:01:46 -08:00
Gregg Van Hove
24bf3489dc
Display deprecation warnings in HTML reporter
...
- Also no longer check for stack since IE doesn't do that
[#154746527 ]
2018-02-05 12:11:36 -08:00
Gregg Van Hove
5afe1222f4
Add ability to report deprecation warnings from within the suite
...
[#154746527 ]
2018-02-05 11:19:15 -08:00
Gregg Van Hove
274011ed03
Merge branch 'master' into 3.0-features
2018-02-02 16:33:38 -08:00
Gregg Van Hove
0eca06a33b
Now pass a navigation helper to HtmlReporter instead of click handlers
2018-01-30 14:30:28 -08:00
Gregg Van Hove
84953ec210
stop spec on failure should not default to true
2018-01-30 11:48:25 -08:00
Gregg Van Hove
e15f273f06
Replace old "catch exceptions" logic with proper fail fast with error reporting
...
- Option is called stopOnSpecFailure
[#85966014 ]
- See #414
- See jasmine/jasmine-npm#16
2018-01-30 11:36:56 -08:00
Gregg Van Hove
46cc48ccfa
Detect an Error passed to done and add an expectation failure
...
- See #567
2018-01-29 16:46:30 -08:00
Gregg Van Hove
262a2fe674
Generate compiled jasmine.js for async reporters work
2018-01-29 14:02:02 -08:00
Gregg Van Hove
341c6df6ea
Fix HTML reporter display for excluded specs
2018-01-29 10:00:15 -08:00
Elenore Bastian
3df9cc26d4
Update css for new reporter status
...
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-26 15:27:35 -08:00
Gregg Van Hove
6b156ca6d1
Unify status for xdescribe and xit
...
- Ensure *All's only execute if at least one child will run
- Specs will report a status of `excluded` instead of disabled
[finishes #153967580 ]
- #1418
Signed-off-by: Elenore Bastian <ebastian@pivotal.io >
2018-01-25 16:17:31 -08:00
Elenore Bastian
07996b567f
Suite level errors are reported in failures list
...
[#150118881 ]
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-23 15:39:11 -08:00
Gregg Van Hove
9a96396f65
Generate jasmine.js for suite reporting changes
...
Signed-off-by: Elenore Bastian <ebastian@pivotal.io >
2018-01-23 14:38:40 -08:00
Gregg Van Hove
414e03bded
Setup createSpy in all specs where needed and finish renaming params
...
Signed-off-by: Elenore Bastian <ebastian@pivotal.io >
2018-01-22 14:21:52 -08:00
Gregg Van Hove
038ab87252
Merge branch 'custom-spy-strategy' into 3.0-features
2018-01-22 12:12:59 -08:00
Gregg Van Hove
f20f78f82b
Don't clobber previous custom plans with later plans
...
[finishes #37288941 ]
2018-01-22 12:10:24 -08:00
Gregg Van Hove
70bce55721
Bump version to 2.9.1
2018-01-19 17:51:18 -08:00