<commit_before>
describe("Correctly supports different modes", function(){

	//console.log("modes", emoji.inits, emoji.supports_css, emoji.replace_mode);

	var emoji = new EmojiConvertor();

	emoji.img_set = 'apple';
	emoji.img_sets.apple.path = '/';
	emoji.img_sets.apple.sheet = '/sheet.png';
	emoji.colons_mode = false;
	emoji.text_mode = false;
	emoji.include_title = false;
	emoji.allow_native = false;
	emoji.avoid_ms_emoji = true;

	it("Uses spritesheets with CSS background-sizing support", function(){

		emoji.supports_css = true;
		emoji.use_sheet = true;
		emoji.use_css_imgs = false;

		expect(emoji.replace_colons(':cloud:')).toBe('<span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(/sheet.png);background-position:2.5% 2.5%;background-size:4100%" data-codepoints="2601"></span></span>');
	});

	it("Uses CSS classes with CSS background-sizing support", function(){

		emoji.supports_css = true;
		emoji.use_sheet = false;
		emoji.use_css_imgs = true;

		expect(emoji.replace_colons(':cloud:')).toBe('<span class="emoji emoji-2601" data-codepoints="2601"></span>');<commit_msg>updated css layour vars for the latest emoji release - new bigger sheets, so numbers have changed<commit_after>
describe("Correctly supports different modes", function(){

	//console.log("modes", emoji.inits, emoji.supports_css, emoji.replace_mode);

	var emoji = new EmojiConvertor();

	emoji.img_set = 'apple';
	emoji.img_sets.apple.path = '/';
	emoji.img_sets.apple.sheet = '/sheet.png';
	emoji.colons_mode = false;
	emoji.text_mode = false;
	emoji.include_title = false;
	emoji.allow_native = false;
	emoji.avoid_ms_emoji = true;

	it("Uses spritesheets with CSS background-sizing support", function(){

		emoji.supports_css = true;
		emoji.use_sheet = true;
		emoji.use_css_imgs = false;

		expect(emoji.replace_colons(':cloud:')).toBe('<span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(/sheet.png);background-position:0% 87.5%;background-size:4900%" data-codepoints="2601"></span></span>');
	});

	it("Uses CSS classes with CSS background-sizing support", function(){

		emoji.supports_css = true;
		emoji.use_sheet = false;
		emoji.use_css_imgs = true;

		expect(emoji.replace_colons(':cloud:')).toBe('<span class="emoji emoji-2601" data-codepoints="2601"></span>');
{'fraction_non_alphanumeric': 0.16046213093709885, 'fraction_numerical': 0.017115960633290545, 'mean_word_length': 5.549019607843137, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3665534', 'n_tokens_mistral': 885, 'n_tokens_neox': 844, 'n_words': 150}