@kairos-es/testing 0.0.0 → 1.0.0-alpha.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 +15 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Given/When/Then decision-model testing surface for kairos-es.
|
|
4
4
|
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
A **development** dependency: it peers `@effect/vitest` and is imported from
|
|
8
|
+
tests only.
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
pnpm add -D @kairos-es/testing@alpha @effect/vitest vitest
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`vitest` is named because `@effect/vitest` requires it and pnpm does not install
|
|
15
|
+
a peer for you.
|
|
16
|
+
|
|
17
|
+
Its other peers, `@kairos-es/core`, `@kairos-es/codec` and `effect`, are the ones
|
|
18
|
+
an application using the library already has.
|
|
19
|
+
|
|
5
20
|
A `DeciderSpecification`-equivalent over the codec's `buildDecisionModel`, running
|
|
6
21
|
the real read → decode → decide → append cycle against the in-memory store rather
|
|
7
22
|
than a mock, on `@effect/vitest`. `@kairos-es/core`, `@kairos-es/codec`, `effect`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kairos-es/testing",
|
|
3
|
-
"version": "0.0.0",
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"description": "Given/When/Then decision-model testing surface for kairos-es",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"repository": {
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@effect/vitest": "^0.30.0",
|
|
15
15
|
"effect": "^3.22.0",
|
|
16
|
-
"@kairos-es/codec": "^0.0.0",
|
|
17
|
-
"@kairos-es/core": "^0.0.0"
|
|
16
|
+
"@kairos-es/codec": "^1.0.0-alpha.0",
|
|
17
|
+
"@kairos-es/core": "^1.0.0-alpha.0"
|
|
18
18
|
},
|
|
19
19
|
"main": "./dist/cjs/index.js",
|
|
20
20
|
"module": "./dist/esm/index.js",
|