bynk.test.peek_unknown_capability
Error D1.peek names a participant or a capability that the suite does not have.
D1.peek names a capability as <participant>.<Capability>, where the participant is one of the suite's and declares the capability. The participant or the capability is not one.
Example
suite shop.orders as system { case "peeks" { let db = D1.peek(shop.orders.Missing) // ✗ `shop.orders` declares no `Missing` let ok = D1.peek(shop.orders.Orders) // ✓ expect true }}In the Book
See also
- The grammar rule it governs:
case. - Every code in its category, Tests, on the diagnostic index.
bynk explain bynk.test.peek_unknown_capabilityshows the same from the installed toolchain, without a network.