Commit Graph

13 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
Nicolas Charpentier e3c84b54d6
chore: update React examples to match with the new React guidelines (#12217) 2022-02-11 08:31:28 +01:00
Nicolas Charpentier 040a50b725
docs: use function components in React examples (#11329) 2021-04-23 07:20:24 +02:00
Abhishek Jain 220835cc03 refactor: Replaces findDomNode() with refs (#9124) 2019-11-02 11:48:04 +01:00
Mark de Dios 4f06ee4881 chore: use property initializer syntax (#8117) 2019-03-14 17:05:09 +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 40db699e8b Update eslint rules and clean up code.
Summary:We spend too much time reviewing minor nits and it increases turnaround time. This updates the eslint config to error on a few stylistic things and it is now aligned with the Jest code style.

This was also a good change (or well, I was forced :P ) to clean up the last of the cruft of the codebase :)
Closes https://github.com/facebook/jest/pull/892

Reviewed By: vjeux

Differential Revision: D3178752

fb-gh-sync-id: 7d1b759dffeca9374ecab39f7f031cf0da6832e3
fbshipit-source-id: 7d1b759dffeca9374ecab39f7f031cf0da6832e3
2016-04-14 20:31:28 -07:00
Jeff Carpenter 97950faad4 Typo fix bin -> bind 2016-02-26 17:16:11 -08:00
cpojer 741f4a8de1 Cleanup and update examples in preparation for 0.9.0. 2016-02-25 17:14:18 +09:00
drac bb43b4ed39 fix(react example): correct .babelrc and example
- in order to use 'babel-plugins-*' to parse the syntax, we can use
  'babel-preset-*' packages that we have already installed.
  for using 'babel-preset-*' packages you need to specify it in the
  .babelrc file as "presets".
  (Look here: https://babeljs.io/docs/plugins/#presets)

  otherwise if you want to use 'plugins' and parse the syntax;
  you have to install 'babel-plugin-*' packages.
  (Look here: https://babeljs.io/docs/plugins/)

- 'export default *' changed to 'module.exports = *' due to
  syntax error.
2015-11-17 14:37:00 +02:00
cpojer 2597a0b16e Remove react example and rename the react-es6 example 2015-10-23 11:36:44 -07:00
Jake Boone 28c245a9b4 Removed React JSX pragma from CheckboxWithLabel.js 2015-03-11 09:59:04 -04:00
jeffmo 88a94d5d1b FIRST! 2014-05-14 09:42:01 -07:00