mirror of
https://github.com/zhigang1992/firebase-tools.git
synced 2026-06-10 06:59:29 +08:00
15 lines
381 B
Bash
Executable File
15 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
set -e # Immediately exit on failure
|
|
|
|
# Globally link the CLI for the testing framework
|
|
./scripts/npm-link.sh
|
|
|
|
# Prepare the storage emulator rules runtime
|
|
firebase setup:emulators:storage
|
|
|
|
mocha \
|
|
--require ts-node/register \
|
|
--require source-map-support/register \
|
|
--require src/test/helpers/mocha-bootstrap.ts \
|
|
scripts/storage-emulator-integration/tests.ts
|