<commit_before>window.addEventListener('load', function(){

    // mousedown

    module('mousedown', environment);

    test('should respond to mousedown', 1, function() {
        listen('mousedown').trigger('mousedown');
    });

    // mouseup

    module('mouseup', environment);

    test('should respond to mouseup', 1, function() {
        listen('mouseup').trigger('mouseup');
    });

    // mousemove

    module('mousemove', environment);

    test('should respond to mousemove', 1, function() {
        listen('mousemove').trigger('mousemove');
    });

    // touchstart

    module('touchstart', environment);

    test('should respond to touchstart', 1, function() {
        listen('touchstart').trigger('mousedown');
    });

    // touchend

    module('touchend', environment);

    test('should respond to touchend', 1, function() {
        listen('touchend').trigger('mouseup');
    });

    // touchmove

    module('touchmove', environment);

    test('should respond to touchmove', 1, function() {
        listen('touchmove').trigger('mousemove');
    });

});<commit_msg>Load tests immediately instead of onload<commit_after>(function() {

    // mousedown

    module('mousedown', environment);

    test('should respond to mousedown', 1, function() {
        listen('mousedown').trigger('mousedown');
    });

    // mouseup

    module('mouseup', environment);

    test('should respond to mouseup', 1, function() {
        listen('mouseup').trigger('mouseup');
    });

    // mousemove

    module('mousemove', environment);

    test('should respond to mousemove', 1, function() {
        listen('mousemove').trigger('mousemove');
    });

    // touchstart

    module('touchstart', environment);

    test('should respond to touchstart', 1, function() {
        listen('touchstart').trigger('mousedown');
    });

    // touchend

    module('touchend', environment);

    test('should respond to touchend', 1, function() {
        listen('touchend').trigger('mouseup');
    });

    // touchmove

    module('touchmove', environment);

    test('should respond to touchmove', 1, function() {
        listen('touchmove').trigger('mousemove');
    });

})();
{'fraction_non_alphanumeric': 0.1708542713567839, 'fraction_numerical': 0.00548195523069895, 'mean_word_length': 3.1398865784499055, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3588929', 'n_tokens_mistral': 653, 'n_tokens_neox': 592, 'n_words': 128}