@usagekit/store 0.5.0 → 0.7.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.
|
@@ -2,8 +2,10 @@ import { describe, expect, test } from "vitest";
|
|
|
2
2
|
import fc from "fast-check";
|
|
3
3
|
import { input, command, ref, receipt, unknownReceipt, budget, quantity } from "./helpers.js";
|
|
4
4
|
const numRuns = globalThis.process?.env?.CI === "true" ? 1000 : 200;
|
|
5
|
+
// CI executes five times as many cases, including isolated durable database fixtures.
|
|
6
|
+
const timeout = numRuns * 300;
|
|
5
7
|
export function propertyTests(factory) {
|
|
6
|
-
describe("generated command interleavings", () => {
|
|
8
|
+
describe("generated command interleavings", { timeout }, () => {
|
|
7
9
|
test("holders never reacquire dispatch and mutations preserve state invariants", async () => {
|
|
8
10
|
await fc.assert(fc.asyncProperty(fc.integer({ min: 2, max: 5 }), fc.array(fc.record({
|
|
9
11
|
kind: fc.constantFrom("intent", "renew", "settle", "correct", "release", "claim", "advanceClock"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usagekit/store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Atomic store commands, reference store and conformance tests.",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepack": "node ../../scripts/package-license.mjs"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@usagekit/core": "0.
|
|
34
|
+
"@usagekit/core": "0.7.0"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"publishConfig": {
|
|
@@ -49,5 +49,14 @@
|
|
|
49
49
|
"fast-check": {
|
|
50
50
|
"optional": true
|
|
51
51
|
}
|
|
52
|
+
},
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "git+https://github.com/msniezynski/usagekit.git",
|
|
56
|
+
"directory": "packages/store"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://usagekit.dev",
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/msniezynski/usagekit/issues"
|
|
52
61
|
}
|
|
53
62
|
}
|