<commit_before>'use strict';
import path from 'path';
import test from 'ava';
import helpers from 'yeoman-test';
import assert from 'yeoman-assert';

test('Test standard scaffold', async () => {
	await helpers
		.run(path.join(__dirname, '/app'))
		.withPrompts({
			botName: 'my-awesome-bot',
			githubUsername: 'tester',
			webhookUrl: 'testing.ngrok.io',
			token: 'token1234',
			port: 5000,
			heroku: true
		});

	// Core Code Intact
	assert.file([
		'app.js',
		'test.js',
		'.env',
		'.gitignore',
		'app.json', // Heroku True
		'config.js',
		'commands/example.js'
	]);

	// Tpl Assertions
	assert.fileContent([
		['readme.md', /https:\/\/img.shields.io\/travis\/tester\/my-awesome-bot.svg/],
		['.env', /token1234/],
		['.env', /testing.ngrok.io/],
		['.env', /5000/]
	]);

	assert.noFileContent([<commit_msg>Add website prompt in test<commit_after>'use strict';
import path from 'path';
import test from 'ava';
import helpers from 'yeoman-test';
import assert from 'yeoman-assert';

test('Test standard scaffold', async () => {
	await helpers
		.run(path.join(__dirname, '/app'))
		.withPrompts({
			botName: 'my-awesome-bot',
			githubUsername: 'tester',
			website: 'helloworld',
			webhookUrl: 'testing.ngrok.io',
			token: 'token1234',
			port: 5000,
			heroku: true
		});

	// Core Code Intact
	assert.file([
		'app.js',
		'test.js',
		'.env',
		'.gitignore',
		'app.json', // Heroku True
		'config.js',
		'commands/example.js'
	]);

	// Tpl Assertions
	assert.fileContent([
		['readme.md', /https:\/\/img.shields.io\/travis\/tester\/my-awesome-bot.svg/],
		['.env', /token1234/],
		['.env', /testing.ngrok.io/],
		['.env', /5000/]
	]);

	assert.noFileContent([
{'fraction_non_alphanumeric': 0.20512820512820512, 'fraction_numerical': 0.01908169350029815, 'mean_word_length': 3.392670157068063, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4896079', 'n_tokens_mistral': 723, 'n_tokens_neox': 637, 'n_words': 133}