mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-25 22:23:50 +00:00
Make `test-all.sh` the authoritative standalone frontend runner for npm and CI. Restore stale assertions and reject missing, duplicate, removed or undocumented inventory entries. Fixes #1858. Rebased onto `a2f039d4`. Retains release-routing, map scope-state and Scope Audit stylesheet tests, adds `test-packets-local-channels.js` to the sorted runner, and classifies `test-neighbor-map-btn-clip-e2e.js` under browser. Its separate CI browser step is preserved. Inventory: 280 root suites, 167 standalone, 113 requiring separate setup. The icon repair fixes two suites red on master: `test-issue-1648-m2-emoji-scan.js` and `test-issue-1648-m6-final-sweep.js`. Node/live configured-scope confirmations now use the existing accessible Phosphor check sprite. Values, visibility conditions and scanner assertions are preserved. - Red evidence: `89e45a9` inventory assertions; `4e255df` accessible confirmation assertion. The latest rebase also reproduced both unclassified-file failures before adding their entries. This follow-up only changes runner/classification configuration and counts; no test files modified. - Local validation: all 167 standalone suites; 27 M2 browser checks and 16 neighbor geometry checks in Chromium. Syntax, whitespace, PII, CSS-variable and XSS checks passed. - Browser coverage includes populated/empty/null configured scopes in node and live views. - No new dependencies, requests, application settings or Go changes. Workflow outside the unit step matches master. - Windows validation uses process-local UTF-8 settings. Encoding and node-reach confirmation follow-ups remain separate, as requested. ## Preflight override External `run-all.sh` is unavailable; applicable repository checks were run directly.
32 lines
992 B
JSON
32 lines
992 B
JSON
{
|
|
"name": "meshcore-analyzer",
|
|
"version": "0.0.0-use-git-tags",
|
|
"description": "Community-run alternative to the closed-source `analyzer.letsmesh.net`. MQTT packet collection + open-source web analyzer for the Bay Area MeshCore mesh.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "npx c8 --reporter=text --reporter=text-summary sh test-all.sh",
|
|
"test:unit": "sh test-all.sh",
|
|
"test:coverage": "npx c8 --reporter=text --reporter=html sh test-all.sh",
|
|
"test:full-coverage": "sh scripts/combined-coverage.sh",
|
|
"lint": "eslint public/*.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@michaelhart/meshcore-decoder": "^0.2.7",
|
|
"better-sqlite3": "^12.8.0",
|
|
"express": "^5.2.1",
|
|
"mqtt": "^5.15.0",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.11.3",
|
|
"axe-core": "^4.12.1",
|
|
"eslint": "^8.57.1",
|
|
"nyc": "^18.0.0",
|
|
"playwright": "^1.58.2",
|
|
"supertest": "^7.2.2"
|
|
}
|
|
}
|