Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/unitest/matcher/to_have_property.ts

🃏 Deno-first universal unit testing framework
Latest
import * as unitest from "https://deno.land/x/unitest@v1.0.0-beta.82/matcher/to_have_property.ts";

Functions

assert hint message

assertion hint

construct key path as array

extract property path

Use .toHaveProperty to check if property at provided reference keyPath exists for an object