mirror of
https://github.com/zhigang1992/firebase-tools.git
synced 2026-06-14 09:38:58 +08:00
* mock auth globally for tests * remove unused method * remove unused dep * fix imports in integration scripts
16 lines
429 B
Bash
Executable File
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
|