File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
packages/firestore/test/integration/util Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,10 @@ export function isPersistenceAvailable(): boolean {
179179 * persistence both disabled and enabled (if the browser is supported).
180180 */
181181function apiDescribeInternal (
182- describeFn : Mocha . PendingSuiteFunction ,
182+ describeFn :
183+ | Mocha . PendingSuiteFunction
184+ | Mocha . SuiteFunction
185+ | Mocha . ExclusiveSuiteFunction ,
183186 message : string ,
184187 testSuite : ( persistence : PersistenceMode ) => void
185188) : void {
@@ -594,10 +597,3 @@ export async function checkOnlineAndOfflineResultsMatch(
594597 expect ( expectedDocs ) . to . deep . equal ( toIds ( docsFromServer ) ) ;
595598 }
596599}
597-
598- export function itIf (
599- condition : boolean | 'only'
600- ) : Mocha . TestFunction | Mocha . PendingTestFunction {
601- // eslint-disable-next-line no-restricted-properties
602- return condition === 'only' ? it . only : condition ? it : it . skip ;
603- }
You can’t perform that action at this time.
0 commit comments