@rotorsoft/act-tck 1.22.0 → 1.23.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/dist/index.js
CHANGED
|
@@ -64,6 +64,7 @@ var build_cache_plan = (seed, stream_count) => {
|
|
|
64
64
|
const make_entry = () => {
|
|
65
65
|
const v = Math.floor(rng() * 1e3);
|
|
66
66
|
return {
|
|
67
|
+
stream: `e-${v}`,
|
|
67
68
|
state: { count: v, label: `k${v % 7}` },
|
|
68
69
|
version: v,
|
|
69
70
|
event_id: v,
|
|
@@ -134,7 +135,8 @@ var runCacheDifferentialTck = (options) => {
|
|
|
134
135
|
|
|
135
136
|
// src/cache-tck.ts
|
|
136
137
|
import { afterEach, beforeEach as beforeEach2, describe as describe2, expect as expect2, it as it2 } from "vitest";
|
|
137
|
-
var entry = (event_id, state = {}) => ({
|
|
138
|
+
var entry = (event_id, state = {}, stream = `s-${event_id}`) => ({
|
|
139
|
+
stream,
|
|
138
140
|
state,
|
|
139
141
|
version: event_id,
|
|
140
142
|
event_id,
|