We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a5bb4 commit 8d71140Copy full SHA for 8d71140
packages/data-connect/test/unit/utils.test.ts
@@ -15,11 +15,19 @@
15
* limitations under the License.
16
*/
17
18
+import { deleteApp, FirebaseApp, initializeApp } from '@firebase/app';
19
import { expect } from 'chai';
20
21
import { getDataConnect } from '../../src';
22
import { validateArgs } from '../../src/util/validateArgs';
23
describe('Utils', () => {
24
+ let defaultApp: FirebaseApp;
25
+ beforeEach(() => {
26
+ defaultApp = initializeApp({ projectId: 'p' });
27
+ });
28
+ afterEach(async () => {
29
+ await deleteApp(defaultApp);
30
31
it('[Vars required: true] should throw if no arguments are provided', () => {
32
const connectorConfig = { connector: 'c', location: 'l', service: 's' };
33
expect(() =>
0 commit comments