Skip to content

Commit 8561514

Browse files
committed
cleanup
1 parent 7fea6f4 commit 8561514

File tree

1 file changed

+4
-8
lines changed
  • packages/firestore/test/integration/util

1 file changed

+4
-8
lines changed

packages/firestore/test/integration/util/helpers.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ export function isPersistenceAvailable(): boolean {
179179
* persistence both disabled and enabled (if the browser is supported).
180180
*/
181181
function 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-
}

0 commit comments

Comments
 (0)