Steve Gravrock
ef9f82a17d
Merge branch 'master' into 3.0-features
2017-12-18 09:48:17 -08:00
Steve Gravrock
c0d0513199
Stop serializing objects after hitting jasmine.MAX_PRETTY_PRINT_CHARS
2017-12-15 13:23:59 -08:00
Steve Gravrock
86a38fceb9
Truncate pretty printer output that is more than j$.MAX_PRETTY_PRINT_CHARS long
2017-12-13 08:09:22 -08:00
Steve Gravrock
c74af1d900
Reduced pretty printer limits to much smaller values
...
This should help prevent out of memory errors when printing large object
graphs. See #1291 and #1422 .
[#153257532 ]
2017-12-13 08:07:43 -08:00
Gregg Van Hove
8ea4c6d3a1
Update contributing for new naming of jasmineUnderTest
2017-12-11 17:25:27 -08:00
Gregg Van Hove
bdbaebc045
Update contributing for new naming of jasmineUnderTest
2017-12-11 17:24:38 -08:00
Steve Gravrock
2d33765cbf
Dogfood the toHaveClass matcher
...
[#153567695 ]
2017-12-11 16:00:29 -08:00
Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00
Steve Gravrock
ac5d8708b9
More informative pretty-printing of DOM elements
...
[Finishes ##153562618]
2017-12-11 08:25:13 -08:00
Steve Gravrock
eb93d38294
Allow jasmine-npm to handle its own load errors
...
[Fixes #153466462 ]
2017-12-08 09:17:10 -08:00
Steve Gravrock
0b5dce7d84
Removed CodeClimate badge & configuration
...
CodeClimate's recommendations have been a mix of irrelevant and
actively harmful for some time. The latest problem is that it applies
length and complexity requirements equally to all functions whether
they act as privacy scopes, namespaces, classes or just regular old
functions.
Static analysis tools are only worthwhile if their recommendations add
enough value to offset the cost of slogging through them -- in other
words, if the signal to noise ratio is high enough. CodeClimate hasn't
carried its own weight for a long time, and it's only gotten worse with
each recent update.
2017-12-07 21:29:59 -08:00
Steve Gravrock
d16aa550cb
Treat random= as a no-op rather than disabling randomization
...
[#109197518 ]
2017-12-01 08:45:58 -08:00
Steve Gravrock
2200dd084d
Fixed build
2017-12-01 08:34:12 -08:00
Steve Gravrock
98ead94c51
Fixed spec failure on Chrome
2017-12-01 08:28:55 -08:00
Gregg Van Hove
21655a82c9
Use prototype for spy strategy for better memory management
...
- Also convert `identity` to a property from a method
2017-11-30 17:30:20 -08:00
Steve Gravrock
0183b1642d
Removed stray debugger statement
2017-11-30 07:53:59 -08:00
Steve Gravrock
18ed34e9be
Fixed failing specs
2017-11-29 09:32:12 -08:00
Steve Gravrock
f4caf27208
Fixed pending() for async/promise-returning specs
...
Fixes #1449 .
Fixes #1450 .
2017-11-29 08:57:29 -08:00
Steve Gravrock
a63172f53f
expect(null).toEqual(jasmine.any(Object)) no longer passes
...
[Finishes #153181443 ]
Fixes #1255 .
2017-11-29 08:10:01 -08:00
Steve Gravrock
9619acf91f
Extracted the predicate version of toThrowError into its own matcher
...
This simplifies the signature of each matcher to something that jsdoc
can actually handle.
[Finishes #20622765 ]
2017-11-28 14:30:06 -08:00
Gregg Van Hove
b7e4c1e779
Remove console.js altogether
...
[#80410262 ]
2017-11-21 17:27:21 -08:00
Gregg Van Hove
e5ada1d010
Add safari 10 and update readme to include edge
2017-11-20 17:24:52 -08:00
Steve Gravrock
d35b65cf79
Set version to 3.0.0-pre
2017-11-17 14:28:20 -08:00
Steve Gravrock
db615e4186
Determine overall status in core, not reporters
...
[#92261606 ]
[#78679648 ]
2017-11-17 14:24:12 -08:00
Steve Gravrock
5906a2c05c
Filter Jasmine frames from stack traces
...
[Finishes #2644992 ]
2017-11-13 15:49:01 -08:00
Steve Gravrock
59ad217954
Fixed bad travis.yml merge
...
Re-removed IE 8, IE 9, and Node 0.12.x from the testing matrix
2017-11-10 10:47:08 -08:00
Steve Gravrock
b0ec95c472
Merge branch 'master' into 3.0-features
2017-11-10 10:26:14 -08:00
Steve Gravrock
13b9e669bd
Merge branch 'feature/allow-callfake-to-be-async' of https://github.com/mrlannigan/jasmine into merge-test
...
- Merges #1448 from @mrlannigan
2017-11-10 10:01:45 -08:00
Julian Lannigan
2eef0747a0
Added test steps for other major node versions
...
addresses https://www.pivotaltracker.com/story/show/152685778
2017-11-10 10:23:02 -05:00
Julian Lannigan
7ac1244f58
changed tests to work in environments that dont support async/await
2017-11-10 10:17:48 -05:00
Steve Gravrock
6ef0e93880
Revert "Removed IE 8 and 9 from the testing matrix"
...
In case we end doing another 2.x release.
This reverts commit 0e95b04900 .
2017-11-09 20:57:01 -08:00
Julian Lannigan
2be5e0a962
Allowed async functions to be passed into spy#callFake
2017-11-09 19:59:23 -05:00
Steve Gravrock
a42f28c734
Removed checks for PhantomJS 1
...
v2 has been out for a long time, and v1 can no longer be easily installed.
2017-11-09 07:04:06 -08:00
Steve Gravrock
d58f3dac56
Test against multiple Node versions on Travis
2017-11-08 09:17:55 -08:00
Steve Gravrock
676689b063
Test against Node 4.x, not 0.10.x
2017-11-08 09:11:41 -08:00
Steve Gravrock
aaf226b9e3
Removed spec guards for versions of Safari we no longer support
2017-11-08 08:30:35 -08:00
Steve Gravrock
419470e9df
Removed support for IE <10
...
[#150527985 ]
2017-11-08 08:30:22 -08:00
Steve Gravrock
1526d5e2a8
Treat afterAll errors at any level as failures
...
[Finishes #152492514 ]
2017-11-07 20:48:23 -08:00
Steve Gravrock
a3cb010971
Removed remaining traces of the obsolete console reporter
...
[#80410262 ]
2017-11-07 20:09:04 -08:00
Steve Gravrock
278ef9228b
Removed obsolete console reporter from core
...
Anyone who was still using this should use the one in jasmine-npm
instead.
[Finishes #80410262 ]
2017-11-07 12:25:47 -08:00
Steve Gravrock
82eeed3c85
Improved reporting of load errors and afterAll errors
...
- Pass file and line number to reporters when present
- Show file and line number in the HTML reporter when present
- Visually separate adjacent errors in the HTML reporter
[#24901981 ]
2017-11-04 10:28:42 -07:00
Steve Gravrock
ae9b95269c
Load error handling doesn't depend on browser features, so test it everywher
...
[#24901981 ]
2017-11-02 18:17:40 -07:00
Steve Gravrock
285f06d5c4
Merge branch 'promise-matching-1314' of https://github.com/sderickson/jasmine
2017-11-02 17:18:24 -07:00
Steve Gravrock
3aece2ac74
Merge branch 'master' of https://github.com/b-3-n/jasmine
...
- Merges #1445 from @b-3-n
- Fixes #1444
2017-11-02 08:17:27 -07:00
sgravrock
3a9d4ee08d
Merge pull request #1440 from aaronang/patch-1
...
Add instruction to sync local master with upstream
2017-11-02 08:11:47 -07:00
Steve Gravrock
26a7bc6acf
Report loading errors as loading errors, not afterAll errors
...
[#24901981 ]
2017-11-01 14:09:29 -07:00
Steve Gravrock
7b8edcb401
HTML reporter reports overall failure if there are any global errors
...
[#24901981 ]
2017-11-01 11:44:58 -07:00
Steve Gravrock
395b2b2d97
Test against Edge
2017-10-31 21:50:42 -07:00
Steve Gravrock
bd250f27c7
Fail if error events (e.g. syntax errors) occur during loading
...
[#24901981 ]
2017-10-31 21:16:00 -07:00
Benjamin Mularczyk
b4dfdd7a48
Fix equality computation for ES6 Sets.
2017-11-01 01:01:26 +01:00