mirror of
https://github.com/hanzoai/grpc-web.git
synced 2026-10-30 18:35:37 +00:00
* Fix CI exit code reporting * Simplify local integration test usage * Fixed webpack compatibility with old browsers (safari 9) * Upgrade karma * Disabled websocket tests for old versions of firefox * Removed firefox 21 due to SSL incompatibility * Updated latest browser versions * Revert "added websocket transport to cancel propagation test (#904)"
15 lines
309 B
Bash
Executable File
15 lines
309 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
set -x
|
|
|
|
COMMAND="npm run test:browsers"
|
|
if [ "$BROWSER" == "nodejs" ]; then
|
|
COMMAND="npm run test:node"
|
|
fi
|
|
|
|
# Avoid rebuilding the go test server
|
|
export PREBUILT_INTEGRATION_TESTS=1
|
|
|
|
# Run the integration tests with timestamped output
|
|
bash -o pipefail -c "${COMMAND} | ts -s %.s"
|