Appease the linter

This commit is contained in:
Quentin Gliech
2024-11-14 20:23:42 +01:00
parent 3f3e361725
commit 7ea173384e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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