Commit Graph

4 Commits

Author SHA1 Message Date
Paul O’Shannessy 6d2632adae
Update copyrights with Meta Platforms, restore original license in Jasmine fork (#13879) 2023-02-09 08:13:08 +01:00
Tim Seckinger f1ae80554a
feat(jest-circus,jest-jasmine2): throw when describe returns a value (#10947) 2020-12-14 12:21:25 +01:00
Tim Seckinger b9c5df8062
jest-jasmine2: fix describe return value warning being shown if describe throws (#8335)
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. -->

<!-- Please remember to update CHANGELOG.md in the root of the project if you have not done so. -->

## Summary

Fixes the describe warning part of #8334 (intentionally not marking this as closing the whole issue)

<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->

## Test plan

Added e2e test case that fails with master build (the stdout `toBe('')` check).
<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->
2019-04-16 10:50:03 +02:00
Tim Seckinger 690221b5db Warn if describe returns a value (#7852)
* Fail test suite if describe returns a Promise

* copyright header

* fix for overwritten global.Promise

* fix e2e test for Node 6

* only console.warn for now

* stack trace

* remove circus stack entry

* snapshot test

* console.warn => console.log

* remove Env.js after rebase

* fix jasmine2 after rebase
2019-03-07 09:43:37 +01:00