chromatic

  • Version 18.15.3
  • Published
  • 5.88 MB
  • 1 dependency
  • MIT license

Install

npm i chromatic
yarn add chromatic
pnpm add chromatic

Overview

Automate visual testing across browsers. Gather UI feedback. Versioned documentation.

Index

Functions

Functions

function isChromatic

isChromatic: (window?: Window) => boolean;
  • Checks whether the code is running within Chromatic.

    Parameter window

    The window object whose navigator and/or location is used to determine if running in Chromatic.

    Returns

    true if running within Chromatic, false otherwise.

Package Files (1)

Dependencies (1)

Dev Dependencies (102)

Peer Dependencies (3)

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/chromatic.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/chromatic)
  • HTML
    <a href="https://www.jsdocs.io/package/chromatic"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>