<commit_before>/*
 * Content Widget Tests
 */
(function($){
	// TODO !! reset the prototype after every test

	var mockEvent, proto = $.mobile.pagecontainer.prototype, reset = $.extend( {}, proto );

	proto.element = $( "<div>" );

	module("Content Widget _filterNavigateEvents", {
		setup: function() {
			mockEvent = $.Event( "mock" );
			mockEvent.originalEvent = $.Event( "hashchange" );
		}
	});

	test( "rejects navigate events where the origina event's default is prevented", function(){
		expect( 1 );

		mockEvent.originalEvent.isDefaultPrevented = function() {
			ok( true, "request for default status" );<commit_msg>fixed typo in console output for test content_core.js<commit_after>/*
 * Content Widget Tests
 */
(function($){
	// TODO !! reset the prototype after every test

	var mockEvent, proto = $.mobile.pagecontainer.prototype, reset = $.extend( {}, proto );

	proto.element = $( "<div>" );

	module("Content Widget _filterNavigateEvents", {
		setup: function() {
			mockEvent = $.Event( "mock" );
			mockEvent.originalEvent = $.Event( "hashchange" );
		}
	});

	test( "rejects navigate events where the original event's default is prevented", function(){
		expect( 1 );

		mockEvent.originalEvent.isDefaultPrevented = function() {
			ok( true, "request for default status" );
{'fraction_non_alphanumeric': 0.14903474903474903, 'fraction_numerical': 0.0015444015444015444, 'mean_word_length': 4.204819277108434, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3849573', 'n_tokens_mistral': 402, 'n_tokens_neox': 371, 'n_words': 115}