1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

disable coverage reporting

This commit is contained in:
Richard van der Hoff
2023-08-16 15:08:31 +01:00
parent 203ddd29e3
commit 80c4336f76

View File

@@ -31,6 +31,7 @@ import { v4 as uuidv4 } from "uuid";
* @returns true if we successfully claimed the lock; false if another instance stole it from under our nose
* (in which `onNewInstance` will have been called)
*/
/* istanbul ignore next (coverage instrumentation is disabled for this file) */
export async function getSessionLock(onNewInstance: () => Promise<void>): Promise<boolean> {
/*
* The algorithm here is twofold.