Skip to content

Add Rules Unit Testing v2 skeleton for v9 release #5352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions packages/rules-unit-testing/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* Copyright 2017 Google LLC
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,19 +21,4 @@
* creating a dependency on @firebase/rules-unit-testing.
*/

export {
apps,
assertFails,
assertSucceeds,
discoverEmulators,
clearFirestoreData,
database,
firestore,
initializeAdminApp,
initializeTestApp,
loadDatabaseRules,
loadFirestoreRules,
loadStorageRules,
useEmulators,
withFunctionTriggersDisabled
} from './src/api';
export const TODO = 'TODO';
19 changes: 3 additions & 16 deletions packages/rules-unit-testing/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@firebase/rules-unit-testing",
"version": "1.3.15",
"version": "2.0.0",
"description": "",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
"engines": {
"node": "^8.13.0 || >=10.10.0"
"node": ">=10.10.0"
},
"files": [
"dist"
Expand All @@ -19,25 +19,12 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test"
},
"license": "Apache-2.0",
"dependencies": {
"firebase": "8.10.0",
"@firebase/component": "0.5.6",
"@firebase/logger": "0.2.6",
"@firebase/util": "1.3.0",
"request": "2.88.2"
},
"devDependencies": {
"@google-cloud/firestore": "4.12.3",
"@types/request": "2.48.5",
"firebase-admin": "9.9.0",
"firebase-tools": "9.14.0",
"firebase-functions": "3.14.1",
"rollup": "2.52.2",
"rollup-plugin-typescript2": "0.30.0"
},
"peerDependencies": {
"@google-cloud/firestore": "^4.2.0",
"firebase-admin": "^9.7.0"
"firebase-exp": "^9.0.0-beta.8"
},
"repository": {
"directory": "packages/rules-unit-testing",
Expand Down
Loading