Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/chai/lib/chai/utils/objDisplay.js>objDisplay

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
Latest
function objDisplay
import { objDisplay } from "https://deno.land/x/chai@v5.1.2/lib/chai/utils/objDisplay.js";

.objDisplay(object)

Determines if an object or an array matches criteria to be inspected in-line for error messages or should be truncated.

Parameters

obj

javascript object to inspect