Polish webpack message output (#5174)

* Only install react-scripts in CI mode

* Link locally

* Re-enable all output tests

* 💄 Polish webpack output

* Test sass support message

* Add more tests, but disabled

* Format missing default export error

* Format aliased import

* Why was node-sass required? Odd

* Format webpack rejection error

* Re-enable unknown package test

* Format file not found error and catch module scope plugin error

* Re-disable case sensitive paths

* Intercept and format case sensitive path errors

* Test out of scope message formatting

* Run behavior on macOS

* Run behavior on Node 8 and 10, only Node 8 for macOS

* Add some debugging

* Update matcher

* Only check stderr

* Remove old snapshot

* More debug

* Remove debug

* Add new debug

* Disable test on linux

* Add comment for future
This commit is contained in:
Joe Haddad
2018-09-30 17:44:49 -04:00
committed by GitHub
parent 5abff641a9
commit 7b1a32be6e
27 changed files with 558 additions and 178 deletions

View File

@@ -96,10 +96,10 @@ git clean -df
# ******************************************************************************
# Smoke tests
./node_modules/.bin/jest --config fixtures/smoke/jest.config.js
CI=true ./node_modules/.bin/jest --config fixtures/smoke/jest.config.js
# Output tests
./node_modules/.bin/jest --config fixtures/output/jest.config.js
CI=true ./node_modules/.bin/jest --config fixtures/output/jest.config.js
# Cleanup
cleanup