UNPKG

chromatic

Version:

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

8 lines (7 loc) 277 B
/** * Returns `true` if running within Chromatic, `false` otherwise. * @argument window - The window object whose `navigator` and/or `location` is * used to determine if running in Chromatic. */ declare function isChromatic(window?: Window): boolean; export = isChromatic;