test: fix clipboard copy error/event

This commit is contained in:
rugk
2026-04-25 08:00:44 +00:00
parent 37a8eff666
commit 6b07d458e8
2 changed files with 26 additions and 3 deletions
+1
View File
@@ -207,6 +207,7 @@ exports.urlToString = function (url) {
};
exports.enableClipboard = function () {
// @ts-ignore
navigator.clipboard = (function () {
let savedText = "";