@orkestrel/test 0.0.26 → 0.0.28

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/README.md CHANGED
@@ -33,6 +33,10 @@ npm install -D @orkestrel/test
33
33
  Vitest provider. Core touches neither `node:*` nor the DOM, so a browser test project imports it
34
34
  unchanged.
35
35
 
36
+ The browser face also supplies `sendTouch`, `tapTouch`, and `releaseTouch`, external file drags
37
+ through `sendFileDrag`, a `pointer` axis on `stageMedia`, and the stylesheet instruments
38
+ `adoptSheet`, `SheetAdoption`, and `readLayerNames`.
39
+
36
40
  ```ts
37
41
  import {
38
42
  captureError,
@@ -107,7 +111,8 @@ const sources = readInventory(root, ['src/core', 'src/server'], { extensions: ['
107
111
  Object.keys(sources)
108
112
  // ['src/core/constants.ts', 'src/core/factories.ts', 'src/core/helpers.ts', 'src/core/index.ts',
109
113
  // 'src/core/types.ts', 'src/core/validators.ts', 'src/server/constants.ts',
110
- // 'src/server/factories.ts', 'src/server/helpers.ts', 'src/server/index.ts', 'src/server/types.ts']
114
+ // 'src/server/factories.ts', 'src/server/helpers.ts', 'src/server/index.ts',
115
+ // 'src/server/types.ts']
111
116
 
112
117
  // The keys are paths; the values are the file contents.
113
118
  sources['src/core/index.ts']
@@ -127,11 +132,11 @@ Object.keys(
127
132
  // 'src/core/validators.ts']
128
133
 
129
134
  // A directory key prunes its whole subtree.
130
- Object.keys(readInventory(root, ['src'], { extensions: ['.ts'], exclude: ['src/server'] }))
131
- // ['src/browser/constants.ts', 'src/browser/factories.ts', 'src/browser/helpers.ts',
132
- // 'src/browser/index.ts', 'src/browser/types.ts', 'src/core/constants.ts',
133
- // 'src/core/factories.ts', 'src/core/helpers.ts', 'src/core/index.ts', 'src/core/types.ts',
134
- // 'src/core/validators.ts']
135
+ Object.keys(
136
+ readInventory(root, ['src'], { extensions: ['.ts'], exclude: ['src/server', 'src/browser'] }),
137
+ )
138
+ // ['src/core/constants.ts', 'src/core/factories.ts', 'src/core/helpers.ts', 'src/core/index.ts',
139
+ // 'src/core/types.ts', 'src/core/validators.ts']
135
140
  ```
136
141
 
137
142
  Keys are root-relative and `/`-separated whatever the host separator is. The suite gates that proof
@@ -163,7 +168,7 @@ who can create hard links where the test process already writes.
163
168
  The browser face is the journey layer: an accessible-name resolver with exact failure voices,
164
169
  region and disclosure targeting, input and traversal verbs, perception readers, a WCAG contrast
165
170
  instrument that composites translucent layers, and the capture portfolio. Every acting verb
166
- resolves its own target from a role and an accessible name — none takes an element, a component
171
+ resolves its own target from an accessible name and, where the platform supplies one, a role — none takes an element, a component
167
172
  instance, or a selector — and the whole environment imports `vitest/browser`, DOM globals, this
168
173
  package's own core, and the `@orkestrel/contract` guards it narrows with, with `vitest` declared as
169
174
  a peer dependency. Beside the journey verbs are the