test: add comprehensive SDK unit tests (Node.js + Python)
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 9m29s

This commit is contained in:
OpenClaw Agent 2026-02-27 08:05:22 +00:00
parent 2eca4e700b
commit dfd410f842
5 changed files with 2212 additions and 4 deletions

View file

@ -12,12 +12,25 @@
"types": "./dist/index.d.ts"
}
},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"build": "tsc && tsc --module commonjs --outDir dist/cjs && mv dist/cjs/index.js dist/index.cjs && rm -rf dist/cjs",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": ["screenshot", "api", "webpage", "capture", "puppeteer", "headless", "eu", "gdpr"],
"keywords": [
"screenshot",
"api",
"webpage",
"capture",
"puppeteer",
"headless",
"eu",
"gdpr"
],
"author": "Cloonar Technologies GmbH",
"license": "MIT",
"homepage": "https://snapapi.eu",
@ -29,6 +42,7 @@
"node": ">=18"
},
"devDependencies": {
"typescript": "^5.0.0"
"typescript": "^5.0.0",
"vitest": "^4.0.18"
}
}