@firebase/rules-unit-testing

v1.1.1-canary.4da7606a0
A set of utilities useful for testing Security Rules with the Realtime Database or Cloud Firestore emulators.

dev

rollup -c -w

test

firebase --project=foo --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 11/17/2020

Downloads