bynk.observe.not_a_seam
Error An observation targets a capability the unit under test does not consume.
expect Cap.op called checks the calls the unit under test made through a capability it consumes, whether declared in its context, brought in with consumes, or listed in given. A name that is not one of those, such as a type or a function, has no recorded calls. Name a consumed capability. An operation it does not declare is bynk.observe.unknown_op.
Example
expect AuthId.unsafe called // ✗ `AuthId` is a type, not a capabilityexpect Logger.log called // ✓In the Book
See also
- Every code in its category, Observation, on the diagnostic index.
bynk explain bynk.observe.not_a_seamshows the same from the installed toolchain, without a network.