<commit_before>describe('Pseudo App Tests', () => {
    var App = require('../src/PseudoTestApp.js');
    var React = require('react');
    var ReactDOM = require('react-dom');
    var TestUtils = require('react-addons-test-utils');

    var dom = TestUtils.renderIntoDocument(
      <App />
    );

    it('Renders first child correctly', () => {
        var components = TestUtils.scryRenderedDOMComponentsWithClass(dom, 'test-list-item');
        var div = ReactDOM.findDOMNode(components[0]);
        expect(div.style.backgroundColor).toEqual('green');

    });

    it('Renders last child correctly', () => {
        var components = TestUtils.scryRenderedDOMComponentsWithClass(dom, 'test-list-item');
        var div = ReactDOM.findDOMNode(components[components.length - 1]);
        expect(div.style.backgroundColor).toEqual('red');

    });
});<commit_msg>Test style didn't apply to others<commit_after>describe('Pseudo App Tests', () => {
    var App = require('../src/PseudoTestApp.js');
    var React = require('react');
    var ReactDOM = require('react-dom');
    var TestUtils = require('react-addons-test-utils');

    var dom = TestUtils.renderIntoDocument(
      <App />
    );

    it('Renders first child correctly', () => {
        var components = TestUtils.scryRenderedDOMComponentsWithClass(dom, 'test-list-item');
        var div = ReactDOM.findDOMNode(components[0]);
        var div2 = ReactDOM.findDOMNode(components[1]);
        expect(div.style.backgroundColor).toEqual('green');
        expect(div2.style.backgroundColor).toNotEqual('green');

    });

    it('Renders last child correctly', () => {
        var components = TestUtils.scryRenderedDOMComponentsWithClass(dom, 'test-list-item');
        var div = ReactDOM.findDOMNode(components[components.length - 1]);
        var div2 = ReactDOM.findDOMNode(components[components.length - 2]);
        expect(div.style.backgroundColor).toEqual('red');
        expect(div2.style.backgroundColor).toNotEqual('red');
    });
});
{'fraction_non_alphanumeric': 0.15396113602391628, 'fraction_numerical': 0.004982561036372696, 'mean_word_length': 3.512359550561798, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '2097741', 'n_tokens_mistral': 586, 'n_tokens_neox': 574, 'n_words': 102}