Files
Bryan Kendall 03050eac3e mock auth globally for tests (#2805)
* mock auth globally for tests

* remove unused method

* remove unused dep

* fix imports in integration scripts
2020-11-11 11:05:52 -08:00

16 lines
429 B
Bash
Executable File

#!/bin/bash
set -e # Immediately exit on failure
# Globally link the CLI for the testing framework
./scripts/npm-link.sh
cd scripts/extensions-emulator-tests/greet-the-world
npm i
cd - # Return to root so that we don't need a relative path for mocha
mocha \
--require ts-node/register \
--require source-map-support/register \
--require src/test/helpers/mocha-bootstrap.ts \
scripts/extensions-emulator-tests/tests.ts