#!/usr/bin/env bash # Tests that do not need Zapier login or live api.veraetime.net. set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" cd "$ROOT" export MOCK_VERAE=true npm run gate:0 npm run gate:1 npm run gate:2 npm run gate:3 npm run gate:4 npm run gate:5 npm run gate:6 npm run gate:10 npm run gate:11 npm --prefix packages/verae-zapier-middleware run test:hash node --test packages/verae-zapier-middleware/test/integration/receipt.test.js node --test packages/verae-zapier-middleware/test/integration/objects.test.js npm run test:activate npm run test:zappier echo "OFFLINE SUITE PASSED"