diff options
Diffstat (limited to 'frontend-old/node_modules/@firebase/app-check/dist/test')
| -rw-r--r-- | frontend-old/node_modules/@firebase/app-check/dist/test/setup.d.ts | 17 | ||||
| -rw-r--r-- | frontend-old/node_modules/@firebase/app-check/dist/test/util.d.ts | 34 |
2 files changed, 51 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/app-check/dist/test/setup.d.ts b/frontend-old/node_modules/@firebase/app-check/dist/test/setup.d.ts new file mode 100644 index 0000000..731d2d9 --- /dev/null +++ b/frontend-old/node_modules/@firebase/app-check/dist/test/setup.d.ts @@ -0,0 +1,17 @@ +/** + * @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. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/app-check/dist/test/util.d.ts b/frontend-old/node_modules/@firebase/app-check/dist/test/util.d.ts new file mode 100644 index 0000000..3590096 --- /dev/null +++ b/frontend-old/node_modules/@firebase/app-check/dist/test/util.d.ts @@ -0,0 +1,34 @@ +/** + * @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 { FirebaseApp } from '@firebase/app'; +import { GreCAPTCHA, GreCAPTCHATopLevel } from '../src/recaptcha'; +import { Provider } from '@firebase/component'; +import { AppCheck, CustomProvider } from '../src'; +export declare const FAKE_SITE_KEY = "fake-site-key"; +export declare function getFakeApp(overrides?: Record<string, any>): FirebaseApp; +export declare function getFakeAppCheck(app: FirebaseApp): AppCheck; +export declare function getFullApp(): FirebaseApp; +export declare function getFakeCustomTokenProvider(): CustomProvider; +export declare function getFakeHeartbeatServiceProvider(fakeLogString?: string): Provider<'heartbeat'>; +export declare function getFakeGreCAPTCHA(isTopLevel?: boolean): GreCAPTCHATopLevel | GreCAPTCHA; +/** + * Returns all script tags in DOM matching our reCAPTCHA url pattern. + * Tests in other files may have inserted multiple reCAPTCHA scripts, because they don't + * care about it. + */ +export declare function findgreCAPTCHAScriptsOnPage(): HTMLScriptElement[]; +export declare function removegreCAPTCHAScriptsOnPage(): void; |
