<commit_before>/* jslint browser: true */

define([
	'squire',
	'sinon',
	'jquery',
	'models/PublicationCollection',
	'views/BaseView',
], function(Squire, sinon, $, PublicationCollection, BaseView) {
	"use strict";

	// Mocking Backgrid is difficult since it's namespaced and encompasses many different methods
	// We will have to be satisified with putting spies on the backrid view objects within testView

	describe('SearchView', function() {
		var SearchView;
		var testView, testCollection;
		var server;

		var setElAlertSpy, renderAlertSpy, removeAlertSpy, dangerAlertSpy;

		beforeEach(function (done) {
			var injector;
			$('body').append('<div id="test-div"></div>');

			setElAlertSpy = jasmine.createSpy('setElAlertSpy');
			renderAlertSpy = jasmine.createSpy('renderAlertSpy');
			removeAlertSpy = jasmine.createSpy('removeAlertSpy');
			dangerAlertSpy = jasmine.createSpy('dangerAlertSpy');<commit_msg>Trying to set jasmine timeout interval higher.<commit_after>/* jslint browser: true */

define([
	'squire',
	'sinon',
	'jquery',
	'models/PublicationCollection',
	'views/BaseView',
], function(Squire, sinon, $, PublicationCollection, BaseView) {
	"use strict";

	// Mocking Backgrid is difficult since it's namespaced and encompasses many different methods
	// We will have to be satisified with putting spies on the backrid view objects within testView

	jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;

	describe('SearchView', function() {
		var SearchView;
		var testView, testCollection;
		var server;

		var setElAlertSpy, renderAlertSpy, removeAlertSpy, dangerAlertSpy;

		beforeEach(function (done) {
			var injector;
			$('body').append('<div id="test-div"></div>');

			setElAlertSpy = jasmine.createSpy('setElAlertSpy');
			renderAlertSpy = jasmine.createSpy('renderAlertSpy');
			removeAlertSpy = jasmine.createSpy('removeAlertSpy');
			dangerAlertSpy = jasmine.createSpy('dangerAlertSpy');
{'fraction_non_alphanumeric': 0.12023000522739154, 'fraction_numerical': 0.0026136957658128594, 'mean_word_length': 5.466216216216216, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2637089', 'n_tokens_mistral': 673, 'n_tokens_neox': 595, 'n_words': 151}