<commit_before>module.exports = function(grunt) {
	var _browsers = [
		{
			browserName: 'firefox'
		},
		{
			browserName: 'googlechrome',
			platform: 'linux'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '12'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '13'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '14'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '15'
		},
		{
			browserName: 'internet explorer',
			platform: 'Windows 2012',
			version: '10'
		},
		{
			browserName: 'opera',
			version: '11'
		},
		{
			browserName: 'opera',
			version: '12'
		}
	];

	grunt.initConfig({
		lint: {
			files: ['grunt.js', 'tasks/**/*.js']
		},
    server: {
      base: 'test',
      port: 9999
    },
    'saucelabs-qunit': {
        all: {
            urls: ['http://12172.16.31.10:9999/qunit/lists-plugin.html', 'http://127.0.0.1:9999/qunit/twitter-plugin.html'],
            tunnelTimeout: 5,
            testname: 'Sauce Labs Grunt Task with QUnit',
            build: process.env.TRAVIS_JOB_ID,
            concurrency: 3,
            browsers: _browsers,
            onTestComplete: function(){
                // Called after a qunit unit is done, per page, per browser
                // Return true or false, passes or fails the test
                // Returning undefined does not alter the test result

                // For async return, call 
                var done = this.async();
                setTimeout(function(){
                    // Return to this test after 1000 milliseconds
                    done(/*true or false changes the test result, undefined does not alter the result*/);
                }, 1000);
            }
        }
    }
	});
	grunt.loadTasks('tasks');
	grunt.registerTask('test', 'server saucelabs-qunit');
	grunt.registerTask('default', 'lint test');
};
<commit_msg>Added basic Jasmine test suite.<commit_after>module.exports = function(grunt) {
	var _browsers = [
		{
			browserName: 'firefox'
		},
		{
			browserName: 'googlechrome',
			platform: 'linux'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '12'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '13'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '14'
		},
		{
			browserName: 'firefox',
			platform: 'Windows 2003',
			version: '15'
		},
		{
			browserName: 'internet explorer',
			platform: 'Windows 2012',
			version: '10'
		},
		{
			browserName: 'opera',
			version: '11'
		},
		{
			browserName: 'opera',
			version: '12'
		}
	];

	grunt.initConfig({
		lint: {
			files: ['grunt.js', 'tasks/**/*.js']
		},
    server: {
      base: 'test',
      port: 9999
    },
    'saucelabs-qunit': {
        all: {
            urls: ['http://127.0.0.1:9999/qunit/lists-plugin.html', 'http://127.0.0.1:9999/qunit/twitter-plugin.html'],
            tunnelTimeout: 5,
            testname: 'Sauce Labs Grunt Task with QUnit',
            build: process.env.TRAVIS_JOB_ID,
            concurrency: 3,
            browsers: _browsers,
            onTestComplete: function(){
                // Called after a qunit unit is done, per page, per browser
                // Return true or false, passes or fails the test
                // Returning undefined does not alter the test result

                // For async return, call 
                var done = this.async();
                setTimeout(function(){
                    // Return to this test after 1000 milliseconds
                    done(/*true or false changes the test result, undefined does not alter the result*/);
                }, 1000);
            }
        }
    },
    'saucelabs-jasmine': {
        all: {
            urls: ['http://127.0.0.1:9999/jasmine/SpecRunner.html', 'http://127.0.0.1:9999/jasmine/SpecRunnerDos.html'],
            tunnelTimeout: 5,
            testname: 'Sauce Labs Grunt Task with Jasmine',
            build: process.env.TRAVIS_JOB_ID,
            concurrency: 3,
            browsers: _browsers,
            onTestComplete: function(){
                // Called after a jasmine unit is done, per page, per browser
                // Return true or false, passes or fails the test
                // Returning undefined does not alter the test result

                // For async return, call 
                var done = this.async();
                setTimeout(function(){
                    // Return to this test after 1000 milliseconds
                    done(/*true or false changes the test result, undefined does not alter the result*/);
                }, 1000);
            }
        }
    }
	});
	grunt.loadTasks('tasks');
	grunt.registerTask('test', 'server saucelabs-qunit saucelabs-jasmine');
	grunt.registerTask('default', 'lint test');
};

{'fraction_non_alphanumeric': 0.13113072029550585, 'fraction_numerical': 0.03509131951569875, 'mean_word_length': 1.8721272834413671, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '3149397', 'n_tokens_mistral': 1778, 'n_tokens_neox': 1477, 'n_words': 384}