Simen Bekkhus
306a70aef8
chore: access Number globals via `Number` ( #14807 )
2023-12-30 00:46:34 +00:00
Simen Bekkhus
14cfdae1e1
chore: simpler string trimming ( #14798 )
2023-12-28 18:22:15 +00:00
Paul O’Shannessy
6d2632adae
Update copyrights with Meta Platforms, restore original license in Jasmine fork ( #13879 )
2023-02-09 08:13:08 +01:00
Simen Bekkhus
a20bd2c31e
chore: activate `prefer-template` eslint rule ( #12513 )
2022-02-28 11:31:57 +01:00
Simen Bekkhus
1c2011dbce
chore: verify all packages have the same engine requirement ( #9871 )
2020-04-23 20:19:29 +02:00
Simen Bekkhus
993bc5c5f2
chore: upgrade prettier ( #7336 )
2018-11-19 15:46:34 +01:00
Rubén Norte
a91ea0ea2b
Add missing copyright headers and code of conduct ( #7221 )
...
* Add CODE_OF_CONDUCT.md
* Add Facebook copyright headers
* Replace inlined text with snapshot in detect open handles test
2018-10-23 17:57:23 +01:00
Christoph Pojer
7b6597fefa
Prettier 1.3 ( #3444 )
...
* Add support for `jest.config.js`.
* Update to Prettier 1.3.0.
2017-05-03 07:55:58 +01:00
Michał Pierzchała
8c2a65120a
Prettier 1.2.2, refactor runCommand ( #3352 )
...
* Prettier 1.2.2, refactor runCommand
* Fix test-examples
* Run prettier on examples and scripts
* Fix integration_tests
* Disable esilnt's computed-property-spacing
2017-04-25 16:16:08 +01:00
cpojer
1d778a1ecc
Fix async example for the website.
...
Summary:
Fixes #960 .
Closes https://github.com/facebook/jest/pull/961
Differential Revision: D3240784
fb-gh-sync-id: ad740f495fe1b5eb4271fc4d42105e6b231dcc32
fbshipit-source-id: ad740f495fe1b5eb4271fc4d42105e6b231dcc32
2016-04-29 06:25:59 -07:00
iamchenxin
60506b767b
Add async error test for promise and async/await
...
Summary:
I test many times,seems there isnt a suitable way to use Jasmine's `toThrow style` to test `async error`.
So i add some codes to illustrate using standard javascript style to test async error .
Do there have a `toThrow` version test ? I can not make a suitable `toThrow` test. if there is,should add both of those illustration codes.
Closes https://github.com/facebook/jest/pull/903
Differential Revision: D3229173
fb-gh-sync-id: b2540733d83c3bc2c1438936519c656c86c35ea9
fbshipit-source-id: b2540733d83c3bc2c1438936519c656c86c35ea9
2016-04-27 00:25:06 -07:00
cpojer
1e41587778
Fix babel polyfill integration, add async tests and documentation.
...
Summary: Closes https://github.com/facebook/jest/pull/767
Differential Revision: D3014818
fb-gh-sync-id: 7da53151ddbe12fb2d9c28ed341503d07617e5cf
shipit-source-id: 7da53151ddbe12fb2d9c28ed341503d07617e5cf
2016-03-04 16:24:56 -08:00