forked from mystiq/hydrogen-web
fix lint
This commit is contained in:
parent
bf951bd322
commit
cef94fea45
2 changed files with 3 additions and 3 deletions
|
@ -315,7 +315,7 @@ export class SendQueue {
|
||||||
import {HomeServer as MockHomeServer} from "../../../mocks/HomeServer.js";
|
import {HomeServer as MockHomeServer} from "../../../mocks/HomeServer.js";
|
||||||
import {createMockStorage} from "../../../mocks/Storage.js";
|
import {createMockStorage} from "../../../mocks/Storage.js";
|
||||||
import {NullLogger} from "../../../logging/NullLogger.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";
|
import {poll} from "../../../mocks/poll.js";
|
||||||
|
|
||||||
export function tests() {
|
export function tests() {
|
||||||
|
|
|
@ -21,7 +21,7 @@ export async function poll(fn) {
|
||||||
if (result) {
|
if (result) {
|
||||||
return result;
|
return result;
|
||||||
} else {
|
} 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 a new issue