<commit_before>define(['where/builds/nodeUpdater', 'where/builds/node', 'app-config', 'common/util'], function (updater, node, config, util) {
  'use strict';
  var ajax = jasmine.Ajax,
    currentJobName,
    nodeToUpdate,
    success = 'SUCCESS',
    aborted = 'ABORTED',
    buildKeys = 'number,url,result,actions[failCount,skipCount,totalCount,urlName,name,result[warnings[message,fileName]],triggeredProjects[name,url,downstreamProjects[url,name]]]',
    jobApiRequest = 'api/json?tree=url,downstreamProjects[url,name],lastCompletedBuild[' + buildKeys + ']',
    buildApiRequest = 'api/json?tree=' + buildKeys;

  beforeEach(function () {
    jasmine.Ajax.install();
    currentJobName = 'someJob';
    nodeToUpdate = node.create(currentJobName, '1234');
  });

  afterEach(function () {
    jasmine.Ajax.uninstall();
  });

<commit_msg>fix tests<commit_after>define(['where/builds/nodeUpdater', 'where/builds/node', 'app-config', 'common/util'], function (updater, node, config, util) {
  'use strict';
  var ajax = jasmine.Ajax,
    currentJobName,
    nodeToUpdate,
    success = 'SUCCESS',
    aborted = 'ABORTED',
    buildKeys = 'number,url,result,timestamp,actions[failCount,skipCount,totalCount,urlName,name,result[warnings[message,fileName]],triggeredProjects[name,url,downstreamProjects[url,name]]]',
    jobApiRequest = 'api/json?tree=url,downstreamProjects[url,name],lastCompletedBuild[' + buildKeys + ']',
    buildApiRequest = 'api/json?tree=' + buildKeys;

  beforeEach(function () {
    jasmine.Ajax.install();
    currentJobName = 'someJob';
    nodeToUpdate = node.create(currentJobName, '1234');
  });

  afterEach(function () {
    jasmine.Ajax.uninstall();
  });


{'fraction_non_alphanumeric': 0.1603550295857988, 'fraction_numerical': 0.004733727810650888, 'mean_word_length': 5.503846153846154, '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': '1856145', 'n_tokens_mistral': 574, 'n_tokens_neox': 560, 'n_words': 75}