Steve Gravrock
124effe04b
API reference docs for QueryString
2025-09-17 20:22:47 -07:00
Steve Gravrock
418e9a7728
Convert QueryString to an ES6 class
2025-09-17 18:35:01 -07:00
Steve Gravrock
6715f24fd0
Move knowledge of query parameters out of boot1.js
2025-09-17 18:23:45 -07:00
Steve Gravrock
fa481b2bd1
API reference docs for HTML reporter and spec filters
2025-09-17 07:30:34 -07:00
Steve Gravrock
8309416cb2
Clicking a link in the HTML reporter does exact filtering
...
This feature requires an update to boot1.js, as shown in this commit.
Users with an older boot1.js will get the older inexact filtering.
2025-09-17 07:30:20 -07:00
Steve Gravrock
3bcbc2e3af
Tweak spec duration margin
2025-08-30 12:37:15 -07:00
bonkevin
f16b81d4ef
feat: html-reporter with spec duration
2025-08-27 09:58:11 -04:00
Steve Gravrock
7a8d6e44e3
Fixed sass deprecation warning
2025-04-07 21:59:56 -07:00
Steve Gravrock
5ff7e7f9a1
Updated to eslint 9
...
This isn't officially compatible with the oldest version of Node that
Jasmine supports, but it works. If it stops working, we can always disable
linting in CI builds on older Node versions.
2025-04-07 21:39:58 -07:00
Steve Gravrock
ba7560f65e
HTML reporter: show debug logs with white-space: pre
2024-06-22 11:44:11 -07:00
Steve Gravrock
ff93277c0f
Accessibility: Always provide a non-color indication that a spec is pending
2023-04-29 11:45:21 -07:00
Steve Gravrock
90741b3cee
Accessibility: Improved contrast of version number and inactive tab links
2023-04-29 11:45:16 -07:00
Steve Gravrock
135ff20123
Replaced uses of var with const/let
2022-06-09 20:00:23 -07:00
Steve Gravrock
d2815982ce
Removed obsolete vendor-specific background-size rules
...
* Fixes #1961
2022-03-29 07:20:02 -07:00
Steve Gravrock
b8dabf96ff
HTML: Include top suite failures in the reported failure count
2021-12-03 08:18:18 -08:00
Steve Gravrock
40fac8b6a2
Renamed the trace feature to debugLog[s]
...
"trace" was ambiguous and could easily be understood to have something
to do with stack traces.
2021-12-02 14:46:56 -08:00
Steve Gravrock
47081258cd
Revert "Revert "Added the ability to associate trace information with failing specs""
...
This reverts commit fdad8849df .
2021-10-02 09:56:25 -07:00
Steve Gravrock
6e10f22403
Don't display late errors as AfterAll errors in the HTML reporter
2021-09-11 08:57:50 -07:00
Steve Gravrock
15f7013f85
Merge branch '3.99' into 4.0
2021-09-08 21:04:10 -07:00
Steve Gravrock
7944250290
Merge branch 'main' into 3.99
2021-09-06 17:39:28 -07:00
Steve Gravrock
394be99832
Fixed sass deprecation warnings
...
See <https://sass-lang.com/documentation/breaking-changes/slash-div >.
[#179260511 ]
2021-09-03 15:51:51 -07:00
Steve Gravrock
d8862aa583
Removed the failFast and oneFailurePerSpec config properties
2021-07-31 09:28:14 -07:00
Steve Gravrock
058e77b824
Merge branch 'main' into 3.99
2021-07-31 08:15:29 -07:00
Steve Gravrock
b696bec9e3
Renamed failFast and oneFailurePerSpec config props to stopOnSpecFailure and stopSpecOnExpectationFailure
...
The new names are more self-explanatory and consistent with jasmine-npm. The
old names are deprecated but still work.
[#178682783 ]
2021-07-31 07:51:50 -07:00
Steve Gravrock
6cb9507f62
Merge branch 'main' into 3.99
2021-07-10 08:58:14 -07:00
Joris Stolwijk
e4c7d8af45
new attempt for fixing #1906 : add window.location.pathname to hrefs + comments + fixed tests
2021-06-29 14:03:25 +02:00
Steve Gravrock
ee88ecc614
Revert "add url pathName in toQueryString function - fixes ( https://github.com/jasmine/jasmine/issues/1906 ) + comment + test"
...
Reverted because it breaks the option checkboxes in the HTML reporter, both
in the standalone distribution and in jasmine-browser-runner.
Reopens #1906 .
This reverts commit 1e4f0d1545 .
2021-06-28 12:42:05 -07:00
Joris Stolwijk
1e4f0d1545
add url pathName in toQueryString function - fixes ( https://github.com/jasmine/jasmine/issues/1906 ) + comment + test
2021-06-14 15:05:12 +02:00
Steve Gravrock
f2de1be96a
Fixed "stop spec on expectation failure" checkbox in standalone
...
Fixes [#178248968 ].
2021-06-01 08:49:34 -07:00
Steve Gravrock
6a2a30d540
Improved & unified deprecation handling
...
* De-duplication now happens in core, not in reporters. This ensures that
the console doesn't get flooded.
* Stack traces are opt-out, not opt-in.
* The current runnable is not reported or logged for certain deprecations
where it's irrelevant.
* HtmlReporter shows stack traces in expandable widgets.
* Env#deprecated and Env#deprecatedOnceWithStack are merged.
2021-05-29 15:39:28 -07:00
Steve Gravrock
795651d3b6
Removed debugger statements
2020-09-13 13:40:15 -07:00
Steve Gravrock
e7daa429a1
Show the name of the spec/suite that caused a deprecation
2020-09-13 12:59:25 -07:00
Steve Gravrock
d04b813cab
Merge https://github.com/buildgroundwork/jasmine
...
* Merges #1766 from @amilligan
2020-07-16 10:18:08 -07:00
Alex Parloti
9a7dfb15d2
fix #26
...
fix #26
Returning false will cause 'zone.js' to invoke e.preventDefault(), preventing the page from reloading.
2020-04-02 21:01:56 +02:00
Adam Milligan
13ff1e037e
Make changes in source files
2019-11-22 17:47:20 -05:00
Dmitriy T
7263a38c3f
Adds new configuration option to failSpecWithNoExpectations that will report specs without expectations as failures if enabled
2019-09-05 09:47:38 -07:00
Gregg Van Hove
3e888105f0
Calculate total suite run time inside the env and report in jasmineDone
2019-06-14 14:59:33 -07:00
Gregg Van Hove
984018bfdf
Make no expectations in HTML Reporter message a warning
...
- Fixes #1704
2019-06-12 13:31:25 -07:00
Gregg Van Hove
8da1fd1ed1
Merge branch 'master' of https://github.com/pixelpax/jasmine into pixelpax-master
...
- Merges #1713 from @pixelpax
2019-05-30 17:47:16 -07:00
Gregg Van Hove
b4cbe9850f
add prettier and eslint
2019-05-21 18:23:48 -07:00
Gabriel Elkind
4e10cf84d5
Adds in the source-- whoops!
2019-05-20 23:51:29 -05:00
Elliot Nelson
1e855aa9b8
Cleanup: whitespace
2019-05-18 08:10:11 -04:00
wood
828d14f48e
Use node.js for browser-based CI
2019-03-25 17:55:53 -07:00
Gregg Van Hove
7c0f013003
Merge branch 'johnjbarton-noop-timer'
...
- Merges #1669 from @johnjbarton
2019-03-13 17:34:12 -07:00
johnjbarton
ca2b62b00e
refactor(Timer): share htmlReporter noopTimer via Timer.js
2019-03-12 16:26:04 -07:00
Matthias Jenny
705a6508d4
Add status marks to standalone
2018-09-26 21:10:20 -04:00
Gregg Van Hove
92d0882a32
Introduce a configuration object to Env deprecating old single use functions
...
[finishes #159158038 ]
2018-09-25 17:08:41 -07:00
Gregg Van Hove
3636014917
Merge branch 'hide-grey-specs' of https://github.com/SamFare/jasmine into SamFare-hide-grey-specs
...
- Merges #1561 from @SamFare
2018-05-23 17:15:40 -07:00
SamFare
92d33c79c7
Implemented hiding of disabled specs
2018-05-22 13:30:33 +01:00
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