<commit_before>/*global define*/
/*global describe, it, expect*/
/*global jasmine*/
/*global beforeEach, afterEach*/
/*jslint white: true*/
define([
    'jobCommChannel'
], function(Widget) {
    describe('Test the jobCommChannel widget', function() {
        it('Should do things', function() {

        });
    });
});
<commit_msg>add some basic job comm tests<commit_after>/*global define*/
/*global describe, it, expect*/
/*global jasmine*/
/*global beforeEach, afterEach*/
/*jslint white: true*/
define([
    'jobCommChannel'
], function(JobCommChannel) {
    describe('Test the jobCommChannel widget', () => {
        it('Should load properly', () => {
            expect(JobCommChannel).not.toBeNull();
        });

        it('Should be instantiable and contain the right components', () => {
            let comm = new JobCommChannel();
            expect(comm.initCommChannel).toBeDefined();
            expect(comm.jobStates).toEqual({});
        });

        it('Should initialize correctly on request', () => {
            let comm = new JobCommChannel();
            comm.initCommChannel();
        });
    });
});

{'fraction_non_alphanumeric': 0.16031886625332153, 'fraction_numerical': 0.0, 'mean_word_length': 2.779264214046823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7315927', 'n_tokens_mistral': 308, 'n_tokens_neox': 303, 'n_words': 80}