mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-23 10:53:37 +00:00
Appease the linter
This commit is contained in:
1 parent
38518bee0c
commit
425f4adeb4
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ describe("Account home page", () => {
|
||||
describe("display name edit box", () => {
|
||||
it("lets edit the display name", async () => {
|
||||
// TODO: a better way to wait on delays
|
||||
let advance: () => void;
|
||||
let advance: () => void = () => {};
|
||||
const wait = new Promise((resolve) => {
|
||||
advance = () => resolve(void 0);
|
||||
});
|
||||
|
||||
@@ -34,7 +34,7 @@ describe("Reset cross signing", () => {
|
||||
|
||||
it("calls the callback on success", async () => {
|
||||
// TODO: a better way to wait on delays
|
||||
let advance: () => void;
|
||||
let advance: () => void = () => {};
|
||||
const wait = new Promise((resolve) => {
|
||||
advance = () => resolve(void 0);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user