单测
Some checks failed
test / Run tests (push) Failing after 15s
build / Build (push) Failing after 22s

This commit is contained in:
2025-03-20 23:34:38 +08:00
parent fd2aba4286
commit 131f1bda40
6 changed files with 316 additions and 25 deletions

View File

@ -211,3 +211,9 @@ export function checkSilenceUpdate(oldMeta: Metadata, newMeta: Metadata): boolea
}
return true;
}
export function sleep(time: number) {
return new Promise((resolve) => {
setTimeout(resolve, time);
});
}