@orkestrel/test 0.0.15 → 0.0.17

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
@@ -10,9 +10,10 @@ states that rule, what it excluded, and the one door the journey layer came thro
10
10
  here runs in production code. Part of the `@orkestrel` line.
11
11
 
12
12
  This package runtime-depends on `@orkestrel/contract` for the outcome type `retryUntil` reads
13
- internally. That type is not re-exported. No exported signature names an `@orkestrel/*` type. Both
14
- rules exist for one reason: a test helper hands its types straight into the consumer's assertions,
15
- and a second copy of a package inside its own repository makes the compiler read one type as two.
13
+ internally and for the guards every environment narrows with. That type is not re-exported. No
14
+ exported signature names an `@orkestrel/*` type. Both rules exist for one reason: a test helper
15
+ hands its types straight into the consumer's assertions, and a second copy of a package inside its
16
+ own repository makes the compiler read one type as two.
16
17
 
17
18
  ## Install
18
19
 
@@ -163,8 +164,9 @@ The browser face is the journey layer: an accessible-name resolver with exact fa
163
164
  region and disclosure targeting, input and traversal verbs, perception readers, a WCAG contrast
164
165
  instrument that composites translucent layers, and the capture portfolio. Every acting verb
165
166
  resolves its own target from a role and an accessible name — none takes an element, a component
166
- instance, or a selector — and the whole environment imports `vitest/browser` and DOM globals and
167
- nothing else, with `vitest` declared as a peer dependency. Beside the journey verbs are the
167
+ instance, or a selector — and the whole environment imports `vitest/browser`, DOM globals, this
168
+ package's own core, and the `@orkestrel/contract` guards it narrows with, with `vitest` declared as
169
+ a peer dependency. Beside the journey verbs are the
168
170
  readers a markup conformance check needs: `readClasses` for the classes the markup carries,
169
171
  differenced against `readCascade` for the classes the cascade declares, and `extractStyles` for
170
172
  the inline `style` attributes and `<style>` elements that go round the cascade entirely. The guide's