Steve Gravrock
6ad8d20694
Report the path/url of the file that the spec/suite was defined in
...
Fixes #1884
2023-02-15 21:39:21 -08:00
Steve Gravrock
bc3a495160
Pin eslint-plugin-compat to <4.1.0 to fix import error on CI
...
See <https://github.com/amilajack/eslint-plugin-compat/issues/528 >.
2023-02-07 18:46:17 -08:00
Steve Gravrock
b323631611
Pin Grunt to <1.6.0 for compatiblity with Node 12
2023-01-30 17:57:47 -08:00
Steve Gravrock
e8767ba660
Removed "Does the problem occur with the latest version of jasmine-core" from issue templates
2023-01-25 20:50:51 -08:00
Steve Gravrock
169a2a8ad2
Upgraded to new issue templates
2022-11-20 14:01:43 -08:00
Steve Gravrock
b267029301
Revert "Upgraded to new issue templates"
...
This reverts commit cf574634b8 .
2022-11-20 13:58:20 -08:00
Steve Gravrock
cf574634b8
Upgraded to new issue templates
2022-11-20 13:56:47 -08:00
Steve Gravrock
f8c01574e6
Added Firefox 102 (current ESR) to browser list in README
2022-10-29 15:26:30 -07:00
Steve Gravrock
481f1e7c5c
Bump version to 4.5.0
2022-10-29 14:48:32 -07:00
Steve Gravrock
5e650953cd
Added Safari 16 to supported browsers
2022-10-22 13:08:10 -07:00
Steve Gravrock
87f9ab29df
Fixed the jsdoc types of SuiteResult and SpecResult ids
2022-10-19 17:20:24 -07:00
Steve Gravrock
b831e81074
Include inner exceptions in stack traces
2022-09-24 12:12:21 -07:00
Steve Gravrock
4c13c2b00b
Replaced var with const in API doc examples
2022-09-24 10:12:22 -07:00
Steve Gravrock
4cd190b232
Merge branch 'internal-async'
2022-09-18 13:31:43 -07:00
Steve Gravrock
d4025999b7
Report exceptions thrown by a describe before any it calls
...
Previously, these were masked by the "describe with no children" error.
Now they're reported as suite level errors on an empty suite.
2022-09-17 13:24:45 -07:00
Steve Gravrock
44f331f43d
Updated the style of the examples
...
* const/let instead of var
* classes
* pass our own eslint checks
2022-09-17 12:00:20 -07:00
Steve Gravrock
59848ca151
Coerce the random string to a seed before sending it to reporters
...
This fixes an error in HTMLReporter when the configured seed is a
number rather than a string, which has been allowed since 3.8.0
2022-09-03 12:36:35 -07:00
Steve Gravrock
c14bfe3e5f
Updated release process doc
...
* Fixed description of patch releases
* Moved -npm release docmentation to that repo
* Refer to -npm specifically rather than "binding libraries" generally,
now that we only have one of those that versions in lockstep with core.
2022-09-03 11:02:13 -07:00
Steve Gravrock
26c48ab324
Bump version to 4.4.0
2022-09-03 09:42:39 -07:00
Steve Gravrock
cfecab9f79
Updated contributing guide
2022-08-22 18:10:33 -07:00
Steve Gravrock
b3d9435dbb
Convreted TreeProcessor to async/await
2022-08-22 17:04:44 -07:00
Steve Gravrock
fec8dd37b0
Merge branch 'main' into internal-async
2022-08-22 10:46:03 -07:00
Steve Gravrock
f934e6d816
Assume that addEventListener/removeEventListener are present in browsers
...
Jasmine 3.0 dropped support for the last browser that didn't support
the standard event handler methods (IE 9).
2022-08-20 10:27:44 -07:00
Steve Gravrock
79c6bbc189
clearStack optimizations
...
* Avoid setTimeout in Node, because we don't need the overhead there.
* Still call setTimeout in browsers to prevent the tab from being killed.
* Use queueMicrotask in Safari, because it's dramatically faster than
MessageChannel there.
* Continue to use MessageChannel in other supported browsers becuase it's
somewhat faster than queueMicrotask there.
* Don't use setImmediate any more because there's a faster alternative in
all supported envs.
In jasmine-core's own test suite, this yields a roughly 50-70% speedup
in Node, ~20% in Edge, and 75-90%(!) in Safari.
2022-08-15 17:50:49 -07:00
Steve Gravrock
5f3475342e
Re-added missing JasmineStartedInfo jsdoc
2022-08-06 10:53:28 -07:00
Steve Gravrock
e022e6199c
Bump version to 4.3.0
2022-07-23 10:27:19 -07:00
Steve Gravrock
140c12e8fc
Added Firefox 102 (current ESR) to CI
2022-07-23 10:17:21 -07:00
Steve Gravrock
21f25972bb
Converted ReportDispatcher to promises
2022-07-01 17:25:22 -07:00
Steve Gravrock
d0e1bd96fb
README updates
...
* Removed redundancy
* Added a link to the FAQ
* Removed obsolete support channels
2022-07-01 16:58:38 -07:00
Steve Gravrock
6c56ebc984
Added jasmine.spyOnGlobalErrorsAsync
...
* Allows testing code that's expected to prodeuce global errors or
unhandled promise rejections
* Fixes #1843
* Fixes #1453
2022-06-30 18:09:56 -07:00
Steve Gravrock
d0a9931ae6
Separated reporter- and runable-specific queue runner configuration
2022-06-12 15:52:14 -07:00
Steve Gravrock
93c5f654d9
Extracted most suite-running code out of Env
2022-06-12 15:46:03 -07:00
Steve Gravrock
d8b65028a1
Pass queue runner factory to Spec#execute, not ctor
2022-06-12 12:34:46 -07:00
Steve Gravrock
d6cdc1841c
Extracted suite building out of Env
2022-06-12 09:49:01 -07:00
Steve Gravrock
72b39220e5
Runable, not runnable
2022-06-11 15:41:29 -07:00
Steve Gravrock
55dce7d119
Extracted runnable resource management out of Env
2022-06-11 15:28:37 -07:00
Steve Gravrock
789736dd02
Additional test coverage for default spy strategies
2022-06-11 15:08:02 -07:00
Steve Gravrock
c7ca3b0101
Converted integration specs to async/await
2022-06-11 13:43:44 -07:00
Steve Gravrock
96000220b1
Use arrow fns rather than self = this
2022-06-11 12:12:11 -07:00
Steve Gravrock
e2e2275d41
Removed obsolete and unused utility fns
2022-06-11 11:17:16 -07:00
Steve Gravrock
135ff20123
Replaced uses of var with const/let
2022-06-09 20:00:23 -07:00
Steve Gravrock
4af86f5398
Added supported envs to releasen notes
2022-06-09 18:25:04 -07:00
Steve Gravrock
e5e0e6481d
Bump version to 4.2.0
2022-06-09 18:18:45 -07:00
Steve Gravrock
bcf69b86b4
Removed duplicate Suite and Spec jsdocs
2022-06-03 12:22:58 -07:00
Steve Gravrock
a5f79fac81
Removed remaining jshint config comments
2022-06-02 18:22:23 -07:00
Steve Gravrock
18a00822c5
Built distribution
2022-06-02 11:37:10 -07:00
Steve Gravrock
4cc8437f79
Call buildExpectationResult directly from Suite and Spec
...
This removes quite a bit of indirection from result processing, at the
cost of making a few of the tests more awkward.
2022-06-01 10:18:23 -07:00
Steve Gravrock
8e58305b0a
ExpectationResult.js -> buildExpectationResult.js
2022-06-01 09:26:21 -07:00
Steve Gravrock
bd368aceee
Replaced var with const and let in expectation related code
2022-06-01 09:22:03 -07:00
Steve Gravrock
8f16021887
Replaced var with const and let in ExpectationResult
2022-06-01 09:02:43 -07:00