@firebase/rules-unit-testing

v1.0.3-2020815231418
A set of utilities useful for testing Security Rules with the Realtime Database or Cloud Firestore emulators.

dev

rollup -c -w

test

firebase --debug emulators:exec 'yarn test:nyc'

build

rollup -c

prepare

yarn build

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 ../../config/mocharc.node.js

build:deps

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

Metadata

  • Apache-2.0
  • ^8.13.0 || >=10.10.0
  • Firebase
  • released 9/15/2020

Downloads