Skip to content

Breaking change#1

Merged
lambdalisue merged 3 commits into
mainfrom
breaking-change
Dec 9, 2025
Merged

Breaking change#1
lambdalisue merged 3 commits into
mainfrom
breaking-change

Conversation

@lambdalisue

Copy link
Copy Markdown
Member

No description provided.

This commit updates all documentation, sample code, and tests to use the
new expect API introduced in probitas v0.4.0 (PR #25) and probitas-client
(PR #55).

Changes:
- Replace .ok() with .toBeSuccessful()
- Replace .status(code) with .toHaveStatus(code)
- Replace .dataContains() with .toHaveContentContaining()
- Replace .count() with .toHaveRowCount() or .toHaveContent()
- Replace .contentType() with .toHaveHeader("content-type", ...)
- Replace .textContains() with .toHaveText()
- Replace .durationLessThan() with .toHaveDurationLessThan()

Modified files:
- docs/overview.md, docs/client.md, docs/scenario.md
- data/index/*.probitas.ts (all sample codes)
- probitas/site-health.probitas.ts
- .claude/content.md
@lambdalisue
lambdalisue merged commit e22711c into main Dec 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant