File tree 2 files changed +9
-2
lines changed
scripts/emulator-testing/emulators
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/database ' : patch
3
+ ---
4
+
5
+ Use new wire protocol parameters for startAfter, endBefore.
Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ import { Emulator } from './emulator';
21
21
22
22
import rulesJSON from '../../../config/database.rules.json' ;
23
23
24
+ const DATABASE_EMULATOR_VERSION = '4.11.0' ;
25
+
24
26
export class DatabaseEmulator extends Emulator {
25
27
namespace : string ;
26
28
27
29
constructor ( port = 8088 , namespace = 'test-emulator' ) {
28
30
super (
29
- ' firebase-database-emulator-v4.11.0. jar' ,
31
+ ` firebase-database-emulator-v ${ DATABASE_EMULATOR_VERSION } . jar` ,
30
32
// Use locked version of emulator for test to be deterministic.
31
33
// The latest version can be found from database emulator doc:
32
34
// https://firebase.google.com/docs/database/security/test-rules-emulator
33
- ' https://storage.googleapis.com/firebase-preview-drop/emulator/firebase-database-emulator-v4.11.0. jar' ,
35
+ ` https://storage.googleapis.com/firebase-preview-drop/emulator/firebase-database-emulator-v ${ DATABASE_EMULATOR_VERSION } . jar` ,
34
36
port
35
37
) ;
36
38
this . namespace = namespace ;
You can’t perform that action at this time.
0 commit comments