13 Commits

Author SHA1 Message Date
Dan Abramov
d279aa038a Don't generate absolute paths in Jest config after ejecting 2016-09-18 13:12:21 +03:00
Dan Harper
a5bf07476b add audio support (#665) 2016-09-17 22:20:49 +03:00
Marek Suscak
2c6f1da4d0 Add support for *.jpeg file extension. (#624) 2016-09-11 15:48:58 +03:00
Ville Immonen
cdd736d9e0 Fix mocking assets with special characters in the file path (#584)
The regexes in the Jest `moduleNameMapper` configs were a bit too strict,
causing them to not pick up files with special characters like `@` in the
file path. Change them to match anything with the correct file extension.
2016-09-10 19:56:43 +03:00
Jeremy Gayed
49e4f64620 Adds JSX extension support (#563)
* Adds JSX extension support

* PR changes

* Add testRegex

* Add note about not recommending JSX, link to issue
2016-09-03 15:33:54 +01:00
Gael du Plessix
a94b2523bd Add src/setupTests.js to specify environment setup for Jest (#545) (#548) 2016-09-02 20:27:09 +01:00
Jiansen HE
6c8713b7d1 tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257) 2016-09-02 16:34:34 +01:00
Dan Abramov
67fe75926a Update Jest (#530)
* Update Jest

* Remove default snapshot test

* Fix a few things

* Add a simple default test

* App.spec.js -> App.test.js

* Fix e2e test

* Bump Jest
2016-09-01 02:08:27 +01:00
Felipe Moyano
dcdcab0ecc Added support for webp images in #442 (#458) 2016-08-23 16:13:13 +01:00
Gregory Shehet
b93e6c0bce add otf font format to loaders (#434)
* add off font format to loaders

* add otf format support
2016-08-18 19:47:39 +01:00
Dan Abramov
d21b7da85f Allow popular test path conventions (#400) 2016-08-08 14:23:12 +01:00
Dan Abramov
8084a326f0 Tweak Jest default settings (#378)
Disable timer mocking and enable verbose output.
2016-08-05 18:39:50 +01:00
Dan Abramov
c13f7f40a2 Style tweaks 2016-08-04 19:21:07 +01:00