test(core): add PageAgentCore lifecycle tests

This commit is contained in:
Simon
2026-06-09 17:07:10 +08:00
parent 797c238862
commit daae28db34
5 changed files with 286 additions and 1 deletions

View File

@@ -48,6 +48,7 @@
"homepage": "https://alibaba.github.io/page-agent/",
"scripts": {
"build": "vite build",
"test": "vitest run",
"dev:iife": "concurrently \"vite build --config vite.iife.config.js --watch\" \"npx serve dist/iife -p 5174\"",
"prepublishOnly": "node ../../scripts/pre-publish.js",
"postpublish": "node ../../scripts/post-publish.js"