<commit_before>/*
 * Copyright 2016 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

define([
    'find/app/page/search/results/sunburst-view',
    'backbone',
    'i18n!find/nls/bundle'
], function (SunburstView, Backbone, i18n) {

    describe('Sunburst View', function() {
        beforeEach(function() {
            this.parametricCollection = new Backbone.Collection();
            this.queryModel = new Backbone.Model();
            this.queryModel.getIsoDate = jasmine.createSpy('getIsoDate');

            var sunburstViewConstructorArguments = {
                parametricCollection: this.parametricCollection,
                queryModel: this.queryModel
            };

            this.view = new SunburstView(sunburstViewConstructorArguments);<commit_msg>[FIND-25] Update sunburst-view tests to include new parameters being used in contructor [minor]<commit_after>/*
 * Copyright 2016 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

define([
    'find/app/page/search/results/sunburst-view',
    'backbone',
    'i18n!find/nls/bundle'
], function (SunburstView, Backbone, i18n) {

    describe('Sunburst View', function() {
        beforeEach(function() {
            this.parametricCollection = new Backbone.Collection();
            this.selectedParametricValues = new Backbone.Collection();
            this.queryModel = new Backbone.Model();
            this.queryModel.getIsoDate = jasmine.createSpy('getIsoDate');
            this.queryState = {selectedParametricValues: this.selectedParametricValues};

            var sunburstViewConstructorArguments = {
                parametricCollection: this.parametricCollection,
                queryModel: this.queryModel,
                queryState: this.queryState
            };

            this.view = new SunburstView(sunburstViewConstructorArguments);
{'fraction_non_alphanumeric': 0.09956076134699854, 'fraction_numerical': 0.008784773060029283, 'mean_word_length': 2.9122137404580153, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7392113', 'n_tokens_mistral': 573, 'n_tokens_neox': 523, 'n_words': 129}