test: introduce and set up unit tests in the UI (#486)

This commit is contained in:
Fine0830
2025-08-05 11:48:07 +08:00
committed by GitHub
parent ad4b0639cd
commit b73ae65efc
20 changed files with 3061 additions and 63 deletions

View File

@@ -18,6 +18,10 @@
import { ElNotification } from "element-plus";
export default (text: string): void => {
if (!navigator.clipboard) {
console.error("Clipboard is not supported");
return;
}
navigator.clipboard
.writeText(text)
.then(() => {