https://github.com/angular/angular
Raw File
Tip revision: c588101529b67e4ee5d73d4d1e991184e7327c20 authored by Jacob MacDonald on 30 June 2015, 21:13:50 UTC
fix(change detectors): Fix deduping of protos in transformed dart mode.
Tip revision: c588101
test_js.sh
#!/bin/bash
set -e

echo =============================================================================
# go to project dir
SCRIPT_DIR=$(dirname $0)
cd $SCRIPT_DIR/../..

# Issue #945 Travis still uses Dartium, and hence needs the env setup.
# For local tests, when a developer doesn't have Dart, don't source env_dart.sh
if  ${SCRIPT_DIR}/env_dart.sh 2>&1 > /dev/null ; then
    source $SCRIPT_DIR/env_dart.sh
fi

./node_modules/.bin/gulp pre-test-checks
./node_modules/.bin/gulp test.js --browsers=${KARMA_BROWSERS:-ChromeCanary}
${SCRIPT_DIR}/test_e2e_js.sh
./node_modules/.bin/gulp post-test-checks
back to top