chromatic
Version:
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
12 lines (9 loc) • 359 B
JavaScript
import chalk from 'chalk';
import dedent from 'ts-dedent';
import { error } from '../../components/icons';
export default (pkg) =>
dedent(chalk`
${error} {bold Storybook package not installed}
Could not find {bold ${pkg}} in {bold node_modules}.
Most likely, you forgot to run {bold npm install} or {bold yarn} before running Chromatic.
`);