Skip to content

Conformance probe: waivers match thrown lines by prefix, and rejected promises escape #891

Open

Description

@danfry1

Two gaps in the conformance probe remain after #858 made a synchronous throw fail the export:

  • A waiver's path matches as a prefix (tests-native/conformance/probe.tsx), so a waiver for useVideo() also accepts useVideo(): threw: …. A waived hook that starts throwing passes silently, and no test covers waiving a throw line.
  • An async export that rejects is not caught: the probe checks the returned Promise's shape and the rejection surfaces as an unhandled rejection, not as that export's failure. A throw inside a hook's effect is also outside the render try.

Acceptance criteria

  • A waiver for a value difference does not also waive a threw line for the same path; a test covers it.
  • A rejected promise from a probed function fails that export (or the probe documents that async exports are out of scope); a test pins the chosen behaviour.

Activity

  1. added this to the 0.16.0 milestone on Nov 15, 2026
  2. added
    bug
    area:presets
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:presetsbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions