#!/usr/bin/env bash

BUILD_DIR=${1:-}
if yarn --version > /dev/null 2>&1; then
  cd "$BUILD_DIR" && yarn test
else
  cd "$BUILD_DIR" && npm test
fi
