@rotorsoft/act-tck 1.27.19 → 1.27.21

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.cjs CHANGED
@@ -3288,9 +3288,9 @@ var runStoreTck = (options) => {
3288
3288
  const stats = await store.query_stats([sA, sB]);
3289
3289
  (0, import_vitest9.expect)(stats.size).toBe(2);
3290
3290
  (0, import_vitest9.expect)(stats.get(sA)?.head.name).toBe("Incremented");
3291
- (0, import_vitest9.expect)((stats.get(sA)?.head.data).amount).toBe(2);
3291
+ (0, import_vitest9.expect)(stats.get(sA).head.data.amount).toBe(2);
3292
3292
  (0, import_vitest9.expect)(stats.get(sB)?.head.name).toBe("Decremented");
3293
- (0, import_vitest9.expect)((stats.get(sB)?.head.data).amount).toBe(5);
3293
+ (0, import_vitest9.expect)(stats.get(sB).head.data.amount).toBe(5);
3294
3294
  (0, import_vitest9.expect)(stats.has(sUnasked)).toBe(false);
3295
3295
  const empty = await store.query_stats([]);
3296
3296
  (0, import_vitest9.expect)(empty.size).toBe(0);
@@ -3320,9 +3320,9 @@ var runStoreTck = (options) => {
3320
3320
  });
3321
3321
  const r = stats.get(s);
3322
3322
  (0, import_vitest9.expect)(r?.head.name).toBe("Incremented");
3323
- (0, import_vitest9.expect)((r?.head.data).amount).toBe(3);
3323
+ (0, import_vitest9.expect)(r.head.data.amount).toBe(3);
3324
3324
  (0, import_vitest9.expect)(r?.tail?.name).toBe("Incremented");
3325
- (0, import_vitest9.expect)((r?.tail?.data).amount).toBe(1);
3325
+ (0, import_vitest9.expect)(r.tail.data.amount).toBe(1);
3326
3326
  });
3327
3327
  (0, import_vitest9.it)("count + names \u2014 full aggregates including framework markers", async () => {
3328
3328
  const tag = uid();
@@ -3365,12 +3365,12 @@ var runStoreTck = (options) => {
3365
3365
  );
3366
3366
  const all = await store.query_stats([s]);
3367
3367
  (0, import_vitest9.expect)(all.get(s)?.head.name).toBe("Incremented");
3368
- (0, import_vitest9.expect)((all.get(s)?.head.data).amount).toBe(3);
3368
+ (0, import_vitest9.expect)(all.get(s).head.data.amount).toBe(3);
3369
3369
  const excl = await store.query_stats([s], {
3370
3370
  exclude: ["Incremented"]
3371
3371
  });
3372
3372
  (0, import_vitest9.expect)(excl.get(s)?.head.name).toBe("Decremented");
3373
- (0, import_vitest9.expect)((excl.get(s)?.head.data).amount).toBe(2);
3373
+ (0, import_vitest9.expect)(excl.get(s).head.data.amount).toBe(2);
3374
3374
  const wipe = await store.query_stats([sAllOut], {
3375
3375
  exclude: ["Incremented", "Decremented", "Reset"]
3376
3376
  });
@@ -3518,7 +3518,7 @@ var runStoreTck = (options) => {
3518
3518
  (0, import_vitest9.expect)(n.get(s)?.tail).toBeUndefined();
3519
3519
  const t = await store.query_stats([s], { tail: true });
3520
3520
  (0, import_vitest9.expect)(t.get(s)?.tail?.name).toBe("Incremented");
3521
- (0, import_vitest9.expect)((t.get(s)?.tail?.data).amount).toBe(1);
3521
+ (0, import_vitest9.expect)(t.get(s).tail.data.amount).toBe(1);
3522
3522
  (0, import_vitest9.expect)(t.get(s)?.count).toBeUndefined();
3523
3523
  (0, import_vitest9.expect)(t.get(s)?.names).toBeUndefined();
3524
3524
  });