<commit_before>import {expect} from 'chai';
import Request from '../../src/Request';
import isYoutubeRequest from '../../src/conditions/isYoutubeRequest';



describe('isYoutubeRequest', function() {
	it('should return if the requested URL points to Youtube', function() {
		expect(isYoutubeRequest({
			req: Request('https://www.youtube.com/watch?v=eNcbmrKdf3U')
		})).to.be.true;

		expect(isYoutubeRequest({
			req: Request('https://youtu.be/G5R-F1RmL5Y')
		})).to.be.true;

		expect(isYoutubeRequest({
			req: Request('https://www.google.com')
		})).to.be.false;
	});
});<commit_msg>Vocabulary<commit_after>import {expect} from 'chai';
import Request from '../../src/Request';
import isYoutubeRequest from '../../src/conditions/isYoutubeRequest';



describe('isYoutubeRequest', function() {
	it('should tell if the requested URL points to Youtube', function() {
		expect(isYoutubeRequest({
			req: Request('https://www.youtube.com/watch?v=eNcbmrKdf3U')
		})).to.be.true;

		expect(isYoutubeRequest({
			req: Request('https://youtu.be/G5R-F1RmL5Y')
		})).to.be.true;

		expect(isYoutubeRequest({
			req: Request('https://www.google.com')
		})).to.be.false;
	});
});
{'fraction_non_alphanumeric': 0.19332763045337895, 'fraction_numerical': 0.006843455945252352, 'mean_word_length': 4.545023696682464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, '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': '6183748', 'n_tokens_mistral': 453, 'n_tokens_neox': 408, 'n_words': 72}