File tree 6 files changed +52
-893
lines changed
packages/rules-unit-testing
scripts/emulator-testing/emulators
6 files changed +52
-893
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @firebase/rules-unit-testing " : major
3
+ ---
4
+
5
+ BREAKING: Implement Rules Unit Testing v2 with new design and APIs.
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
- * Copyright 2017 Google LLC
3
+ * Copyright 2021 Google LLC
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
21
21
* creating a dependency on @firebase/rules-unit-testing.
22
22
*/
23
23
24
- export {
25
- apps ,
26
- assertFails ,
27
- assertSucceeds ,
28
- discoverEmulators ,
29
- clearFirestoreData ,
30
- database ,
31
- firestore ,
32
- initializeAdminApp ,
33
- initializeTestApp ,
34
- loadDatabaseRules ,
35
- loadFirestoreRules ,
36
- loadStorageRules ,
37
- useEmulators ,
38
- withFunctionTriggersDisabled
39
- } from './src/api' ;
24
+ export const TODO = 'TODO' ;
Original file line number Diff line number Diff line change 5
5
"author" :
" Firebase <[email protected] > (https://firebase.google.com/)" ,
6
6
"main" : " dist/index.cjs.js" ,
7
7
"engines" : {
8
- "node" : " ^8.13.0 || >=10.10.0"
8
+ "node" : " >=10.10.0"
9
9
},
10
10
"files" : [
11
11
" dist"
19
19
"test:ci" : " node ../../scripts/run_tests_in_ci.js -s test"
20
20
},
21
21
"license" : " Apache-2.0" ,
22
- "dependencies" : {
23
- "firebase" : " 8.10.0" ,
24
- "@firebase/component" : " 0.5.6" ,
25
- "@firebase/logger" : " 0.2.6" ,
26
- "@firebase/util" : " 1.3.0" ,
27
- "request" : " 2.88.2"
28
- },
29
22
"devDependencies" : {
30
- "@google-cloud/firestore" : " 4.12.3" ,
31
- "@types/request" : " 2.48.5" ,
32
- "firebase-admin" : " 9.9.0" ,
33
- "firebase-tools" : " 9.14.0" ,
34
- "firebase-functions" : " 3.14.1" ,
35
23
"rollup" : " 2.52.2" ,
36
24
"rollup-plugin-typescript2" : " 0.30.0"
37
25
},
38
26
"peerDependencies" : {
39
- "@google-cloud/firestore" : " ^4.2.0" ,
40
- "firebase-admin" : " ^9.7.0"
27
+ "firebase" : " ^8.10.0"
41
28
},
42
29
"repository" : {
43
30
"directory" : " packages/rules-unit-testing" ,
You can’t perform that action at this time.
0 commit comments