@firebase/rules-unit-testing

v1.3.15-canary.69f6f4d00
A set of utilities useful for testing Security Rules with the Realtime Database or Cloud Firestore emulators.

dev

rollup -c -w

test

(cd functions && yarn) && firebase --project=demo-foo --debug emulators:exec 'yarn test:nyc'

build

rollup -c

test:ci

node ../../scripts/run_tests_in_ci.js -s test

test:nyc

TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --config ./mocharc.node.js

build:deps

lerna run --scope @firebase/rules-unit-testing --include-dependencies build
npm i @firebase/[email protected]

Metadata

Downloads