chromatic
Version:
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
12 lines (9 loc) • 343 B
JavaScript
import chalk from 'chalk';
import dedent from 'ts-dedent';
import { error } from '../../components/icons';
export default (scriptName) =>
dedent(chalk`
${error} Missing {bold --storybook-port}
The CLI didn't detect a port in your {bold ${scriptName}} script.
You must pass a port with the {bold --storybook-port} option.
`);