chromatic
Version:
Automate visual testing across browsers. Gather UI feedback. Versioned documentation.
20 lines (16 loc) • 619 B
JavaScript
import chalk from 'chalk';
import dedent from 'ts-dedent';
import { info } from '../../components/icons';
import link from '../../components/link';
const providers = {
github: 'GitHub',
gitlab: 'GitLab',
bitbucket: 'Bitbucket',
};
export default (provider) =>
dedent(chalk`
${info} {bold Speed up Continuous Integration}
Your project is linked to ${providers[provider]} so Chromatic will report results there.
This means you can pass the {bold --exit-once-uploaded} flag to skip waiting for build results.
Read more here: ${link('https://www.chromatic.com/docs/cli#chromatic-options')}
`);