aboutsummaryrefslogblamecommitdiffstats
path: root/scripts/test_umd.sh
blob: 56517d32cef36da91f2798018f8b4d5456634471 (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 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