increase test coverage

extend test coverage
This commit is contained in:
JFH
2025-12-01 01:22:26 +01:00
parent a37fbac749
commit fa380402e1
52 changed files with 3813 additions and 169 deletions

View File

@@ -21,11 +21,9 @@
"pretest": "npm run lint",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run --coverage",
"test:watch": "vitest",
"prebuild": "npm run build --workspace=packages/svgcanvas --workspace=packages/react-test",
"build": "vite build",
"postbuild": "node scripts/copy-static.mjs && node scripts/build-extensions.mjs",
"build:watch": "vite build --watch",
"start": "vite dev --host --port 8000 --strictPort",
"prestart": "echo svgedit is available at http://localhost:8000/src/editor/index.html",
"start:iife": "npm run build && vite preview --host --port 8000 --strictPort --outDir dist/editor --open /iife-index.html",
@@ -76,10 +74,8 @@
"archive/"
],
"globals": [
"cy",
"assert",
"expect",
"Cypress"
"expect"
],
"env": [
"mocha",