trap 'rm -rf debian/tests/pkg-js/.compiled' EXIT
esbuild test/test-*.ts --format=esm --platform=node --outdir=debian/tests/pkg-js/.compiled --out-extension:.js=.mjs
cp test/*.txt debian/tests/pkg-js/.compiled/
mocha 'debian/tests/pkg-js/.compiled/test-*.mjs'
