12 lines
311 B
Bash
Executable File
12 lines
311 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Tests for the DSH port. Pure Node, no DSH runtime required.
|
|
set -euo pipefail
|
|
root="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
cd "$root"
|
|
|
|
for f in dsh/bundle/index.js dsh/bundle/command-role.js dsh/bundle/lib/*.js dsh/tests/*.mjs; do
|
|
node --check "$f"
|
|
done
|
|
|
|
node --test dsh/tests/*.test.mjs
|