This commit is contained in:
Bruno Windels 2021-06-02 12:38:41 +02:00
parent bf951bd322
commit cef94fea45
2 changed files with 3 additions and 3 deletions

View file

@ -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() {

View file

@ -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
}