<commit_before>'use strict';

describe('Shared', function() {

  var $compile, $rootScope;

  beforeEach(module('testsCucumberApp'));

  beforeEach(module('views/tc-status.html'));

  beforeEach(inject(function(_$compile_, _$rootScope_){
    $compile = _$compile_;
    $rootScope = _$rootScope_;
  }));

  it('should display success status', function() {

    $rootScope.status = 'PASSED';

    var element = $compile('<tc-status status="status"></tc-status>')($rootScope);
    $rootScope.$digest();

    expect(element.text()).toContain('Succès');
  });

});
<commit_msg>Code style<commit_after>'use strict';

describe('Shared', function () {

  var $compile, $rootScope;

  beforeEach(module('testsCucumberApp'));

  beforeEach(module('views/tc-status.html'));

  beforeEach(inject(function (_$compile_, _$rootScope_) {
    $compile = _$compile_;
    $rootScope = _$rootScope_;
  }));

  it('should display success status', function () {

    $rootScope.status = 'PASSED';

    var element = $compile('<tc-status status="status"></tc-status>')($rootScope);
    $rootScope.$digest();

    expect(element.text()).toContain('Succès');
  });

});

{'fraction_non_alphanumeric': 0.19213973799126638, 'fraction_numerical': 0.0, 'mean_word_length': 4.846938775510204, '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': '3853630', 'n_tokens_mistral': 380, 'n_tokens_neox': 359, 'n_words': 58}