test(page-controller): add happy-dom env and basic tests

This commit is contained in:
Simon
2026-06-11 21:10:05 +08:00
parent e65c7c9601
commit 56c09a9ae9
4 changed files with 129 additions and 0 deletions

View File

@@ -42,10 +42,14 @@
"homepage": "https://alibaba.github.io/page-agent/",
"scripts": {
"build": "vite build",
"test": "vitest run",
"prepublishOnly": "node ../../scripts/pre-publish.js",
"postpublish": "node ../../scripts/post-publish.js"
},
"dependencies": {
"ai-motion": "^0.4.8"
},
"devDependencies": {
"happy-dom": "^20.10.2"
}
}