@playfast/reform-proof 0.0.11 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
# `@playfast/proof`
|
|
3
|
+
# `@playfast/reform-proof`
|
|
4
4
|
|
|
5
5
|
**A headless testing toolkit for [reform](https://www.npmjs.com/package/@playfast/reform).**
|
|
6
6
|
Drive a scene's compositions and assert on what they compute — deterministically, with no DOM, no timers, and no text matching.
|
|
7
7
|
|
|
8
|
-
[](https://www.npmjs.com/package/@playfast/proof)
|
|
9
|
-
[](#license)
|
|
8
|
+
[](https://www.npmjs.com/package/@playfast/reform-proof)
|
|
9
|
+
[](#license)
|
|
10
10
|
[](https://effect.website)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
A reform *scene* is renderer-neutral, so it can be exercised without a host. `@playfast/proof` runs that same scene against a capturing UI: it dispatches typed events, settles the engine, and lets you assert on the **props a composition computed** — pure data, never rendered markup. The scene you prove is the exact scene `@playfast/react`
|
|
16
|
+
A reform *scene* is renderer-neutral, so it can be exercised without a host. `@playfast/reform-proof` runs that same scene against a capturing UI: it dispatches typed events, settles the engine, and lets you assert on the **props a composition computed** — pure data, never rendered markup. The scene you prove is the exact scene `@playfast/reform-react` renders, so there is no seam between a passing test and production behavior.
|
|
17
17
|
|
|
18
18
|
## Install
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
bun add -d @playfast/proof @playfast/reform effect react
|
|
21
|
+
bun add -d @playfast/reform-proof @playfast/reform effect react
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Peers: `effect`, `react` (`^19`), and `@playfast/reform`.
|
|
@@ -80,7 +80,7 @@ There is no real clock. `settle` cooperatively drains forked fibers and loops un
|
|
|
80
80
|
|
|
81
81
|
## The reform family
|
|
82
82
|
|
|
83
|
-
Core [`@playfast/reform`](https://www.npmjs.com/package/@playfast/reform) · hosts [`@playfast/react`](https://www.npmjs.com/package/@playfast/react) / [`@playfast/react-native`](https://www.npmjs.com/package/@playfast/react-native) · forms [`@playfast/forms`](https://www.npmjs.com/package/@playfast/forms) + [`@playfast/forms-react`](https://www.npmjs.com/package/@playfast/forms-react)
|
|
83
|
+
Core [`@playfast/reform`](https://www.npmjs.com/package/@playfast/reform) · hosts [`@playfast/reform-react`](https://www.npmjs.com/package/@playfast/reform-react) / [`@playfast/reform-react-native`](https://www.npmjs.com/package/@playfast/reform-react-native) · forms [`@playfast/reform-forms`](https://www.npmjs.com/package/@playfast/reform-forms) + [`@playfast/reform-forms-react`](https://www.npmjs.com/package/@playfast/reform-forms-react)
|
|
84
84
|
|
|
85
85
|
## License
|
|
86
86
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playfast/reform-proof",
|
|
3
3
|
"playbook": "./playbook",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Headless testing toolkit for reform — drive a scene's compositions and assert on the props they compute, with no DOM, timers, or text matching.",
|
|
7
7
|
"keywords": [
|