@firebase/rules-unit-testing

v4.0.0
A set of utilities useful for testing Security Rules with the Realtime Database or Cloud Firestore emulators.

dev

rollup -c -w

doc

api-documenter markdown --input temp --output docs

test

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

build

rollup -c && yarn api-report

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:doc

yarn build && yarn doc

api-report

api-extractor run --local --verbose

build:deps

lerna run --scope @firebase/rules-unit-testing --include-dependencies build

trusted-type-check

tsec -p tsconfig.json --noEmit
npm i @firebase/[email protected]

Metadata

Downloads