summaryrefslogtreecommitdiff
path: root/tests/run.sh
blob: 6d845dfa70aae77b276f107f32178dce4fe822d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
# Full test suite for iphone-notes.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"

echo "== helpers (node:test) =="
node --test tests/helpers.test.mjs

echo "== cli =="
./tests/cli.test.sh

echo "== conventional commits =="
./tests/conventional-commits.test.sh

echo "All tests passed."