aboutsummaryrefslogblamecommitdiffstats
path: root/scripts/test_umd.sh
blob: d200c76d09f5bb9b818d8e5b1d737e2ef33bf361 (plain) (tree)
1
2
3
4
5
6
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 only be run after building the commonjs because they reuse some of the commonjs build artifacts
run-s substitute_umd_bundle run_mocha
return_code=$?
npm run clean
exit $return_code