You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should throw an error if `projectId` is not provided',()=>{
7
-
constapp=initializeApp({});
8
-
expect(()=>getDataConnect({connector: 'c',location: 'l',service: 's'})).to.throw('Project ID must be provided. Did you pass in a proper projectId to initializeApp?');
9
-
deleteApp(app);
10
-
});
11
-
it('should not throw an error if `projectId` is provided',()=>{
12
-
constprojectId='p';
13
-
initializeApp({ projectId});
14
-
expect(()=>getDataConnect({connector: 'c',location: 'l',service: 's'})).to.not.throw('Project ID must be provided. Did you pass in a proper projectId to initializeApp?');
0 commit comments