summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/analytics/dist/testing
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-old/node_modules/@firebase/analytics/dist/testing')
-rw-r--r--frontend-old/node_modules/@firebase/analytics/dist/testing/get-fake-firebase-services.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/analytics/dist/testing/gtag-script-util.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/analytics/dist/testing/integration-tests/integration.d.ts18
-rw-r--r--frontend-old/node_modules/@firebase/analytics/dist/testing/setup.d.ts17
4 files changed, 65 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/analytics/dist/testing/get-fake-firebase-services.d.ts b/frontend-old/node_modules/@firebase/analytics/dist/testing/get-fake-firebase-services.d.ts
new file mode 100644
index 0000000..d2f6357
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/analytics/dist/testing/get-fake-firebase-services.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { FirebaseApp } from '@firebase/app';
+import { _FirebaseInstallationsInternal } from '@firebase/installations';
+export declare function getFakeApp(fakeAppParams?: {
+ appId?: string;
+ apiKey?: string;
+ measurementId?: string;
+}): FirebaseApp;
+export declare function getFakeInstallations(fid?: string, onFidResolve?: Function): _FirebaseInstallationsInternal;
+export declare function getFullApp(fakeAppParams?: {
+ appId?: string;
+ apiKey?: string;
+ measurementId?: string;
+}): FirebaseApp;
diff --git a/frontend-old/node_modules/@firebase/analytics/dist/testing/gtag-script-util.d.ts b/frontend-old/node_modules/@firebase/analytics/dist/testing/gtag-script-util.d.ts
new file mode 100644
index 0000000..d80a58c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/analytics/dist/testing/gtag-script-util.d.ts
@@ -0,0 +1 @@
+export declare function removeGtagScripts(): void;
diff --git a/frontend-old/node_modules/@firebase/analytics/dist/testing/integration-tests/integration.d.ts b/frontend-old/node_modules/@firebase/analytics/dist/testing/integration-tests/integration.d.ts
new file mode 100644
index 0000000..6ffe0d3
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/analytics/dist/testing/integration-tests/integration.d.ts
@@ -0,0 +1,18 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import '@firebase/installations';
+import '../setup';
diff --git a/frontend-old/node_modules/@firebase/analytics/dist/testing/setup.d.ts b/frontend-old/node_modules/@firebase/analytics/dist/testing/setup.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/analytics/dist/testing/setup.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};