@unframework.dev/testing 0.2.1 → 0.2.2

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 (123) hide show
  1. package/dist/browser/axe.js +1 -2
  2. package/dist/browser/behaviour.js +1 -2
  3. package/dist/browser/capabilities.js +2 -3
  4. package/dist/browser/clock.d.ts +1 -3
  5. package/dist/browser/clock.js +1 -2
  6. package/dist/browser/console.d.ts +1 -3
  7. package/dist/browser/console.js +1 -2
  8. package/dist/browser/determinism.js +1 -2
  9. package/dist/browser/element-timeout.js +1 -2
  10. package/dist/browser/events.js +1 -2
  11. package/dist/browser/geometry.js +1 -2
  12. package/dist/browser/keys.js +1 -2
  13. package/dist/browser/matchers.d.ts +1 -3
  14. package/dist/browser/matchers.js +4 -5
  15. package/dist/browser/navigation.js +1 -2
  16. package/dist/browser/parity.d.ts +3 -5
  17. package/dist/browser/parity.js +3 -4
  18. package/dist/browser/spec.d.ts +2 -4
  19. package/dist/browser/spec.js +6 -7
  20. package/dist/browser/target.d.ts +1 -3
  21. package/dist/browser/target.js +1 -2
  22. package/dist/browser/text-runs.js +1 -2
  23. package/dist/browser/thrown.js +3 -4
  24. package/dist/browser/trace.d.ts +1 -3
  25. package/dist/browser/trace.js +0 -1
  26. package/dist/browser/user.d.ts +1 -3
  27. package/dist/browser/user.js +1 -2
  28. package/dist/browser/view.d.ts +2 -4
  29. package/dist/browser/view.js +8 -9
  30. package/dist/browser/visual.d.ts +2 -4
  31. package/dist/browser/visual.js +1 -2
  32. package/dist/cli.d.ts +1 -3
  33. package/dist/cli.js +1 -2
  34. package/dist/commands.d.ts +1 -3
  35. package/dist/config/broadcast.js +1 -2
  36. package/dist/config/cases.d.ts +1 -3
  37. package/dist/config/cases.js +1 -2
  38. package/dist/config/index.d.ts +0 -2
  39. package/dist/config/index.js +2 -3
  40. package/dist/config/project-vite.d.ts +1 -3
  41. package/dist/config/project-vite.js +1 -2
  42. package/dist/diff.d.ts +1 -3
  43. package/dist/diff.js +1 -2
  44. package/dist/dom/serialize.js +2 -3
  45. package/dist/errors.d.ts +1 -3
  46. package/dist/errors.js +1 -2
  47. package/dist/harness.d.ts +1 -3
  48. package/dist/harness.js +1 -2
  49. package/dist/index.d.ts +3 -5
  50. package/dist/index.js +1 -2
  51. package/dist/internal.d.ts +3 -3
  52. package/dist/internal.js +2 -2
  53. package/dist/layers.d.ts +1 -3
  54. package/dist/layers.js +1 -2
  55. package/dist/node/browser.d.ts +0 -2
  56. package/dist/node/browser.js +2 -3
  57. package/dist/node/commands.d.ts +2 -4
  58. package/dist/node/commands.js +1 -2
  59. package/dist/node/context.d.ts +1 -3
  60. package/dist/node/context.js +1 -2
  61. package/dist/node/events.d.ts +1 -3
  62. package/dist/node/events.js +1 -2
  63. package/dist/node/finished.d.ts +1 -3
  64. package/dist/node/finished.js +1 -2
  65. package/dist/node/index.d.ts +10 -10
  66. package/dist/node/index.js +11 -11
  67. package/dist/node/matrix.d.ts +2 -4
  68. package/dist/node/matrix.js +1 -2
  69. package/dist/node/mode.d.ts +2 -4
  70. package/dist/node/mode.js +1 -2
  71. package/dist/node/names.d.ts +1 -3
  72. package/dist/node/names.js +1 -2
  73. package/dist/node/policy.d.ts +1 -3
  74. package/dist/node/policy.js +1 -2
  75. package/dist/node/reporter.d.ts +2 -3
  76. package/dist/node/reporter.js +2 -3
  77. package/dist/node/summary.d.ts +2 -4
  78. package/dist/node/summary.js +3 -4
  79. package/dist/node/thrown.js +1 -2
  80. package/dist/node/viewport.d.ts +1 -3
  81. package/dist/node/viewport.js +1 -2
  82. package/dist/node/visual.d.ts +1 -3
  83. package/dist/node/visual.js +2 -3
  84. package/dist/node_modules/.pnpm/playwright-core@1.63.0/node_modules/playwright-core/types/protocol.d.ts +1 -2
  85. package/dist/node_modules/.pnpm/playwright-core@1.63.0/node_modules/playwright-core/types/structs.d.ts +16 -3
  86. package/dist/node_modules/.pnpm/playwright-core@1.63.0/node_modules/playwright-core/types/types.d.ts +16 -2
  87. package/dist/normalize/display.js +1 -2
  88. package/dist/normalize/index.d.ts +1 -3
  89. package/dist/normalize/index.js +2 -3
  90. package/dist/normalize/pipeline.d.ts +1 -3
  91. package/dist/normalize/pipeline.js +2 -3
  92. package/dist/normalize/print.js +1 -2
  93. package/dist/normalize/rules/angular-hosts.js +1 -2
  94. package/dist/normalize/rules/aria-hosts.js +1 -2
  95. package/dist/normalize/rules/comments.js +1 -2
  96. package/dist/normalize/rules/control-values.js +1 -2
  97. package/dist/normalize/rules/engine-aliases.js +1 -2
  98. package/dist/normalize/rules/framework-attributes.js +1 -2
  99. package/dist/normalize/rules/generated-ids.js +1 -2
  100. package/dist/normalize/rules/ordering.js +1 -2
  101. package/dist/normalize/rules/qwik-styles.js +1 -2
  102. package/dist/normalize/rules/qwik-templates.js +1 -2
  103. package/dist/normalize/rules/values.js +1 -2
  104. package/dist/normalize/rules/whitespace.js +2 -3
  105. package/dist/normalize/style.js +1 -2
  106. package/dist/normalize/targets.d.ts +1 -3
  107. package/dist/normalize/targets.js +1 -2
  108. package/dist/normalize/tree.d.ts +1 -1
  109. package/dist/normalize/tree.js +1 -2
  110. package/dist/setup.js +8 -9
  111. package/dist/ssr/index.d.ts +0 -2
  112. package/dist/ssr/index.js +4 -5
  113. package/dist/ssr/spec.js +1 -2
  114. package/dist/targets/angular.js +1 -2
  115. package/dist/targets/astro.js +1 -2
  116. package/dist/targets/qwik.js +1 -2
  117. package/dist/targets/react.js +1 -2
  118. package/dist/targets/solid.js +1 -2
  119. package/dist/targets/svelte.js +1 -2
  120. package/dist/targets/vue.js +1 -2
  121. package/dist/visual-types.d.ts +1 -3
  122. package/dist/visual-types.js +1 -2
  123. package/package.json +14 -14
@@ -1,5 +1,4 @@
1
1
  import { registerTarget } from "../browser/target.js";
2
2
  import { mount } from "@unframework.dev/target-vue/toolchain/client";
3
- //#region src/targets/vue.ts
3
+ // src/targets/vue.ts
4
4
  registerTarget("vue", mount);
5
- //#endregion
@@ -1,4 +1,3 @@
1
- //#region src/visual-types.d.ts
2
1
  /**
3
2
  * L10's skip reason for the reference with live pixels: its capture is the expectation the
4
3
  * followers compare against, so nothing was compared, and a pass would claim otherwise.
@@ -88,5 +87,4 @@ export interface CaptureResult {
88
87
  deltas?: GeometryDelta[];
89
88
  /** Where the capture was written, when its location keeps every capture (ADR-0087). */
90
89
  capture?: string;
91
- }
92
- //#endregion
90
+ }
@@ -1,4 +1,4 @@
1
- //#region src/visual-types.ts
1
+ // src/visual-types.ts
2
2
  /**
3
3
  * L10's skip reason for the reference with live pixels: its capture is the expectation the
4
4
  * followers compare against, so nothing was compared, and a pass would claim otherwise.
@@ -20,5 +20,4 @@ const REFERENCE_NOT_RUN_SKIP = /^reference not run: (.+) did not finish this cas
20
20
  * loaded, not that the text used it.
21
21
  */
22
22
  const FONT_AUDIT_SKIP = "CDP reports the font each glyph used, and only Chromium has CDP";
23
- //#endregion
24
23
  export { FONT_AUDIT_SKIP, LIVE_REFERENCE_SKIP, REFERENCE_NOT_RUN_SKIP, referenceNotRunSkip };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@unframework.dev/testing",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "The cross-target test API: describeTargets, it, mount, mountScenario, the View with its parity checks, and the axe and ARIA matchers. The harness's machinery, the mount adapters, the SSR renderers and normalisation are internal subpaths. Private until its first release.",
5
5
  "keywords": [
6
6
  "testing",
7
7
  "unframework",
8
8
  "vitest"
9
9
  ],
10
- "homepage": "https://github.com/uxfront-com/unframework/tree/main/packages/testing#readme",
10
+ "homepage": "https://unframework.dev",
11
11
  "bugs": "https://github.com/uxfront-com/unframework/issues",
12
12
  "license": "MIT",
13
13
  "repository": {
@@ -100,17 +100,17 @@
100
100
  "dependencies": {
101
101
  "@fontsource/inter": "^5.3.0",
102
102
  "@jridgewell/trace-mapping": "0.3.31",
103
- "@unframework.dev/codegen": "0.1.1",
104
- "@unframework.dev/compiler": "0.2.1",
105
- "@unframework.dev/ir": "0.1.0",
106
- "@unframework.dev/target-angular": "0.1.1",
107
- "@unframework.dev/target-astro": "0.1.1",
108
- "@unframework.dev/target-qwik": "0.1.1",
109
- "@unframework.dev/target-react": "0.1.1",
110
- "@unframework.dev/target-solid": "0.1.1",
111
- "@unframework.dev/target-svelte": "0.1.1",
112
- "@unframework.dev/target-vue": "0.1.1",
113
- "@unframework.dev/unplugin": "0.1.2",
103
+ "@unframework.dev/codegen": "0.1.2",
104
+ "@unframework.dev/compiler": "0.2.2",
105
+ "@unframework.dev/ir": "0.1.1",
106
+ "@unframework.dev/target-angular": "0.1.2",
107
+ "@unframework.dev/target-astro": "0.1.2",
108
+ "@unframework.dev/target-qwik": "0.1.2",
109
+ "@unframework.dev/target-react": "0.1.2",
110
+ "@unframework.dev/target-solid": "0.1.2",
111
+ "@unframework.dev/target-svelte": "0.1.2",
112
+ "@unframework.dev/target-vue": "0.1.2",
113
+ "@unframework.dev/unplugin": "0.1.3",
114
114
  "axe-core": "4.13.0",
115
115
  "parse5": "^8.0.1",
116
116
  "pixelmatch": "^7.2.0",
@@ -132,7 +132,7 @@
132
132
  "react-dom": "19.3.0",
133
133
  "solid-js": "1.9.15",
134
134
  "svelte": "5.57.1",
135
- "tsdown": "^0.23.0",
135
+ "tsdown": "^0.23.7",
136
136
  "vite": "8.3.1",
137
137
  "vitest": "5.0.3",
138
138
  "vue": "3.5.43"