mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
fix lint
This commit is contained in:
parent
bf951bd322
commit
cef94fea45
@ -315,7 +315,7 @@ export class SendQueue {
|
||||
import {HomeServer as MockHomeServer} from "../../../mocks/HomeServer.js";
|
||||
import {createMockStorage} from "../../../mocks/Storage.js";
|
||||
import {NullLogger} from "../../../logging/NullLogger.js";
|
||||
import {event, withContent, withTextBody, withTxnId} from "../../../mocks/event.js";
|
||||
import {event, withTextBody, withTxnId} from "../../../mocks/event.js";
|
||||
import {poll} from "../../../mocks/poll.js";
|
||||
|
||||
export function tests() {
|
||||
|
@ -21,7 +21,7 @@ export async function poll(fn) {
|
||||
if (result) {
|
||||
return result;
|
||||
} else {
|
||||
await new Promise(setImmediate);
|
||||
await new Promise(setImmediate); //eslint-disable-line no-undef
|
||||
}
|
||||
} while (1);
|
||||
} while (1); //eslint-disable-line no-constant-condition
|
||||
}
|
Loading…
Reference in New Issue
Block a user