Block a user
@add-ideas/toolbox-testkit (0.1.1)
Published 2026-07-20 18:05:03 +02:00 by zemion
Installation
@add-ideas:registry=npm install @add-ideas/toolbox-testkit@0.1.1"@add-ideas/toolbox-testkit": "0.1.1"About this package
@add-ideas/toolbox-testkit
Validate and smoke-check a built toolbox application:
toolbox-check dist
The checker validates toolbox-app.json, its id and SemVer version, verifies
the entry, icon, and declared assets, rejects unsafe local paths, serves the
build under a deep nested prefix, and fetches it both standalone and with
?toolbox=/toolbox.catalog.json. It also fetches local scripts, stylesheets,
images, icons, linked web manifests, and their icons from the entry HTML, so
root-absolute references fail the nested-deployment check. It does not launch a
browser.
The same behavior is available programmatically as checkToolboxDist().
Dependencies
Dependencies
| ID | Version |
|---|---|
| @add-ideas/toolbox-contract | 0.1.1 |
Keywords
toolbox
manifest
smoke-test
cli
Details
Assets (1)
Versions (5)
View all
toolbox-testkit-0.1.1.tgz
12 KiB