From f85f546f9f627e0f25492966d89bfbc79d69d957 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 5 Jun 2017 13:26:52 +0200 Subject: Add script to run UMD tests --- scripts/test_umd.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/test_umd.sh (limited to 'scripts') diff --git a/scripts/test_umd.sh b/scripts/test_umd.sh new file mode 100755 index 000000000..56517d32c --- /dev/null +++ b/scripts/test_umd.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# This script runs umd tests and cleans up after them while preserving the `return_code` for CI +# UMD tests should be only run after the commonjs build cause they reuse some of the commonjs build artefacts +run-s substitute_umd_bundle run_mocha +return_code=$? +npm run clean +exit $return_code -- cgit v1.2.3