@vmz/test 0.3.7 → 0.3.8

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.
Files changed (2) hide show
  1. package/dist/compile.js +4 -4
  2. package/package.json +3 -3
package/dist/compile.js CHANGED
@@ -458,8 +458,8 @@ export function runCompileManifest(manifest, ctx) {
458
458
  }
459
459
  }
460
460
  if (typeof expect.reducedMotion === 'string') {
461
- if (!transitions.every((t) => t.reduced_motion === expect.reducedMotion)) {
462
- fail(`motion.reduced_motion want ${expect.reducedMotion}: ${JSON.stringify(transitions)}`);
461
+ if (!transitions.every((t) => t.reducedMotion === expect.reducedMotion)) {
462
+ fail(`motion.reducedMotion want ${expect.reducedMotion}: ${JSON.stringify(transitions)}`);
463
463
  }
464
464
  }
465
465
  if (expect.hasRegion === true) {
@@ -480,9 +480,9 @@ export function runCompileManifest(manifest, ctx) {
480
480
  }
481
481
  }
482
482
  if (expect.planMotionTransition === true) {
483
- const nodes = (plan?.nodes || []).filter((n) => n.kind === 'motion_transition');
483
+ const nodes = (plan?.nodes || []).filter((n) => n.kind === 'motion-transition');
484
484
  if (!nodes.length)
485
- fail('plan missing motion_transition nodes');
485
+ fail('plan missing motion-transition nodes');
486
486
  }
487
487
  continue;
488
488
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@vmz/core": "0.3.7",
4
- "@vmz/protocol": "0.3.7",
3
+ "@vmz/core": "0.3.8",
4
+ "@vmz/protocol": "0.3.8",
5
5
  "linkedom": "^0.18.13",
6
6
  "puppeteer-core": "^24.11.2"
7
7
  },
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "type": "module",
53
53
  "types": "./dist/index.d.ts",
54
- "version": "0.3.7"
54
+ "version": "0.3.8"
55
55
  }