{"size": 352, "ext": "js", "max_stars_repo_path": "test/cli/samples/watch/no-watched-config/_config.js", "max_stars_repo_name": "jameshfisher/rollup", "max_stars_repo_stars_event_min_datetime": "2015-05-27T20:13:57.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T18:07:42.000Z", "max_issues_repo_path": "test/cli/samples/watch/no-watched-config/_config.js", "max_issues_repo_name": "jameshfisher/rollup", "max_issues_repo_issues_event_min_datetime": "2015-05-26T16:24:14.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T09:52:35.000Z", "max_forks_repo_path": "test/cli/samples/watch/no-watched-config/_config.js", "max_forks_repo_name": "jameshfisher/rollup", "max_forks_repo_forks_event_min_datetime": "2015-05-26T21:30:26.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T03:58:14.000Z"}
{"max_stars_count": 23201, "max_issues_count": 3981, "max_forks_count": 1557, "avg_line_length": 25.1428571429, "max_line_length": 121, "alphanum_fraction": 0.6278409091}
const { assertIncludes } = require('../../../../utils.js');

module.exports = {
	description: 'throws if no config is watched',
	command: 'rollup -cw',
	error: () => true,
	stderr(stderr) {
		assertIncludes(
			stderr,
			'[!] Error: Invalid value for option "watch" - there must be at least one config where "watch" is not set to "false".'
		);
	}
};
