File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
packages/data-connect/test/unit Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,27 @@ import chaiAsPromised from 'chai-as-promised';
2222
2323import {
2424 DataConnect ,
25- DataConnectOptions ,
2625 executeQuery ,
2726 getDataConnect ,
2827 mutationRef ,
29- queryRef ,
28+ queryRef
3029} from '../../src' ;
3130import { Code , DataConnectError } from '../../src/core/error' ;
3231chai . use ( chaiAsPromised ) ;
33- const options : DataConnectOptions = {
34- connector : 'c' ,
35- location : 'l' ,
36- projectId : 'p' ,
37- service : 's'
38- } ;
3932
4033describe ( 'Query Manager Tests' , ( ) => {
4134 let dc : DataConnect ;
4235 let app : FirebaseApp ;
36+ const APPID = 'MYAPPID' ;
37+ const APPNAME = 'MYAPPNAME' ;
4338
4439 beforeEach ( ( ) => {
45- app = initializeApp ( { projectId : 'p' } ) ;
46- dc = getDataConnect ( app , options ) ;
40+ app = initializeApp ( { projectId : 'p' , appId : APPID } , APPNAME ) ;
41+ dc = getDataConnect ( app , {
42+ connector : 'c' ,
43+ location : 'l' ,
44+ service : 's'
45+ } ) ;
4746 } ) ;
4847 afterEach ( async ( ) => {
4948 await dc . _delete ( ) ;
You can’t perform that action at this time.
0 commit comments