Bookmark Context
Type to search documentation.

Building & testing

Run the test suites and build the extension.

Python

Terminal window
pip install -e ".[dev]"
pytest

pytest config lives in pyproject.toml (asyncio_mode = "auto", testpaths = ["tests"]). Tests mock network with respx.

Extension

Terminal window
cd extension
npm install
npm test # vitest + Testing Library
npm run build # production build -> extension/dist/
CommandWhat it does
npm run devvite build --watch — rebuilds dist/ on save, binds no port
npm run buildone-off production build

For Load unpacked development: run npm run dev, point Chrome at extension/dist/, and after each rebuild use the header Reload extension button (or Reload on chrome://extensions). Re-open the side panel if it closed.

This docs site

Terminal window
cd website
npm install
npm run dev # http://localhost:4321
npm run build # -> website/dist/
npm run check # astro check

Last updated Sep 9, 2026