Run behavioral smoke tests with Jest, add output tests (#5150)

* Run smoke tests with Jest

* Get a unique port for smoke test

* Upgrade verdaccio across the board

* Drop unneeded step

* Try latest instead

* Boot registry in home directory

* Correct config path

* Add mutex

* Test webpack message formatting

* Strip color

* Add browserslist to default

* Disable another broken feature
This commit is contained in:
Joe Haddad
2018-09-28 06:19:29 -04:00
committed by GitHub
parent 39c73ce5e3
commit 2a7346e085
37 changed files with 485 additions and 289 deletions

View File

@@ -79,7 +79,7 @@ yarn
# Start local registry
tmp_registry_log=`mktemp`
nohup npx verdaccio@3.2.0 -c tasks/verdaccio.yaml &>$tmp_registry_log &
(cd && nohup npx verdaccio@3.8.2 -c "$root_path"/tasks/verdaccio.yaml &>$tmp_registry_log &)
# Wait for `verdaccio` to boot
grep -q 'http address' <(tail -f $tmp_registry_log)