Commit Graph

21 Commits

Author SHA1 Message Date
Joe Haddad
aad5987a03 Bootstrap with Yarn when available (#2673)
* Bootstrap with Yarn if we can

* Update test scripts

* Check OS and npm concurrency ability

* Windows support

* Update bootstrap.js

* Install yarn before bootstrap
2017-06-29 00:45:45 -04:00
Dan Abramov
657b3fd6c0 Test Node 8 on Travis (#2659)
* Test Node 8 on Travis

We still test Node 7 on AppVeyor

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh

* Update e2e-simple.sh

* Update e2e-simple.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh
2017-06-29 00:09:13 +01:00
Ro Savage
32f82c03cb Added cache clear to e2e scripts (#2400)
* Added cache clear to e2e scripts

* Install latest yarn on AppVeyor to avoid windows crashing bug in yarn

* Alternative fix for yarn crashing e2e tests on windows machines
2017-05-29 19:00:43 +01:00
Ro Savage
e6ddfb0411 Fix kill command in e2e-kitchensink.sh cleanup (#2397) 2017-05-29 11:09:40 +01:00
Dan Abramov
3f342383c3 Revert "Catch "No tests found" during CI" (#2390)
* Revert "Fix wrong path expansion in end-to-end test (#2388)"

This reverts commit 2aafaad72d.

* Revert "Suggest just "yarn build" (#2385)"

This reverts commit 70bf12505c.

* Revert "Catch "No tests found" during CI (#2387)"

This reverts commit 5317b3f910.
2017-05-27 23:26:03 +01:00
Dan Abramov
2aafaad72d Fix wrong path expansion in end-to-end test (#2388)
* Update e2e-kitchensink.sh

* Try again (differently)
2017-05-27 21:38:00 +01:00
Fabrizio Castellarin
5317b3f910 Catch "No tests found" during CI (#2387) 2017-05-27 20:32:12 +01:00
Joe Haddad
f366028031 Fix CI 2017-05-15 13:50:30 -04:00
Joe Haddad
70768b321e Add react-error-overlay package (#2111)
* ༼ つ ◕_◕ ༽つ stack-frame-overlay

* Fix linting

* Remove auto overlay

* Fix e2e

* Pull in the rest

* Appease flow

* Correct dep

* Remove old repo references

* Check flow on test

* Test overlay in e2e

* Add cross env

* Rename package

* Make sure it gets built post-install

* Update the README

* Remove extra builds now that there's a postinstall script

* Revert "Remove extra builds now that there's a postinstall script"

This reverts commit 8bf601dbd36c1e0da7f785fa9ade70ab08ed8772.

* Remove broken script

* Fix some dev ergo
2017-05-10 19:56:30 -04:00
Joe Haddad
a53f22b76d Fix AppVeyor CI (#2010) 2017-04-21 22:05:06 -04:00
Joe Haddad
31243283ab Add linked modules test (#1913) 2017-04-14 23:46:04 -04:00
Ade Viankakrisna Fadlil
4ec5af39ac add double quotes to escape spaces in paths in e2e (#1707)
* add double quotes to escape spaces in path

* Change $* to "$@" props to @n3tr

* escape spaces in path for all e2e tests
2017-03-05 15:42:10 +00:00
Joe Haddad
c7a9daeb80 Fix Jest tests for Cygwin 2017-03-02 22:33:47 -05:00
Joe Haddad
a3a223aa1e Add appveyor.yml (#1648)
* Add appveyor.yml

* Execute mocha directly in e2e test

* Replace e2e process substitution

* Kill nohup node processes after e2e

* Disable known failing Windows test

* Only build master
2017-02-27 18:41:49 -05:00
Dan Abramov
745d341ffb Use Yarn latest in e2e (#1534)
* Use Yarn latest in e2e

* Here too

* And here plz
2017-02-15 00:34:05 +00:00
Marcus R. Brown
f840b4d4ba Fix test -e with wildcard arguments. (#1503)
The `test` command fails with multiple arguments when given a unary operator such as '-e'. Add a function that can test one or more files by looping over all files.
2017-02-12 01:34:15 +00:00
Joe Haddad
12288836e1 Upgrade webpack (#1291)
* Upgrade webpack

* Address more webpack v2 ...

* Update html-webpack-plugin

* Remove LoaderOptionsPlugin from dev config

* ExtractTextPlugin still uses webpack 1 syntax
... and doesn't support complex options (yet)

* Grammar nit

* Update extract text webpack plugin

* - Remove webpack.LoaderOptionsPlugin
- Update deps

* Lerna hoists packages

* Update extract-text-webpack-plugin

* Update webpack-dev-server

* Remove imports for the tests

* stop removing babelrc
2017-02-11 14:11:00 -05:00
Joe Haddad
613b584f42 Add PUBLIC_URL env variable for advanced use (#937) (#1504)
* Add `PUBLIC_URL` env variable for advanced use (#937)
* Add support for `PUBLIC_URL` env variable
* Remove unnecessary duplications
* Simplify served path choice logic
* Honor PUBLIC_URL in development
* Add e2e tests

Enables serving static assets from specified host.
2017-02-09 23:15:15 -05:00
Joe Haddad
adab23fa00 e2e: Reduce complexity of e2e and improve Jest coverage (#1484) 2017-02-07 23:04:01 -05:00
Fabrizio Castellarin
1d586aaf31 E2e jsdom fix (#1470)
* E2E: run tests when react is ready

* Entangle e2e with callbacks

* Remove unused e2e lines
2017-01-30 19:24:12 +00:00
Fabrizio Castellarin
9099570b94 Use a more sophisticated template for end-to-end testing. (#1187)
* Use a more sophisticated template for end-to-end testing.

* Not publish integration tests to npm

* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Prepare the commands for testing with a template

* Fix dev "template" path

* Add various features to test

* Test various features separately

* Test language features

* Comment unused e2e.sh lines

* Add "development" tests

* Test environment variables

* Test webpack plugins

* Replace kitchensink README

* Switch integration tests from jest to mocha

* Use `fs-extra`

* Use the correct folders

* Do some cleanup

* Print a better message for `--template`

* Test `npm start` with and without https

* Separate fast e2e testing from kitchensink testing

* Hide `--internal-testing-template` (former `--template`) CLI option
2017-01-23 20:43:16 +01:00