Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
## Auto-loaded Documentation

@docs/repo-layout.md
@docs/widget-scripts.md
@docs/requirements/tech-stack.md
@docs/requirements/frontend-guidelines.md
@docs/requirements/app-flow.md
Expand Down
6 changes: 4 additions & 2 deletions docs/widget-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ pnpm run test

## Build widget

When building the widget, use `pnpm turbo build`, this forces shared dependencies to build (with cache) and the widget itself.
To build a widget: `pnpm turbo build`. This builds shared dependencies (with cache) and the widget itself.

## Run unit test

`pnpm run test` command is used to run tests, under the hood, this is a jest CLI. So additional options can be passed, for example:
To run unit tests: `pnpm run test`. Under the hood, this is a Jest CLI. Additional options can be passed, for example:

- `pnpm run test -u` to update snapshots
- `pnpm run test -t "renders combobox widget"` to run specific specs
- other Jest options can be used

Note: do not put `--` in between.
Loading