<commit_before>require('./testdom')('<html><body></body></html>');
var expect = require('chai').expect;
var React = require('react/addons');
var sinon = require('sinon');
var TestUtils = React.addons.TestUtils;

var BookmarkApp = require('./../react/BookmarkApp');
var BookmarkForm = require('./../react/BookmarkForm');
var BookmarkList = require('./../react/BookmarkList');

describe('BookmarkApp', function() {

  var component,
    intlDataFixture, testFixture;

  beforeEach(function() {
    intlDataFixture = {
      locales: 'en-US',
      messages: {
        urlPlaceholder: 'url',
        tagsPlaceholder: 'tags'
      }
    };
    component = TestUtils.renderIntoDocument(<BookmarkApp {...intlDataFixture} />);
  });

  it('renders a dom element', function() {
    expect(component.getDOMNode().tagName.toLowerCase()).to.be.not.empty;
  });

  it('renders a BookmarkForm component', function() {
    var formComponent = TestUtils.findRenderedComponentWithType(component, BookmarkForm);
    expect(formComponent).to.be.ok;
  });

  it('renders a BookmarkList component', function() {
    var listComponent = TestUtils.findRenderedComponentWithType(component, BookmarkList);
    expect(listComponent).to.be.ok;
  });
});<commit_msg>removed unused variable<commit_after>require('./testdom')('<html><body></body></html>');
var expect = require('chai').expect;
var React = require('react/addons');
var sinon = require('sinon');
var TestUtils = React.addons.TestUtils;

var BookmarkApp = require('./../react/BookmarkApp');
var BookmarkForm = require('./../react/BookmarkForm');
var BookmarkList = require('./../react/BookmarkList');

describe('BookmarkApp', function() {

  var component,
    intlDataFixture;

  beforeEach(function() {
    intlDataFixture = {
      locales: 'en-US',
      messages: {
        urlPlaceholder: 'url',
        tagsPlaceholder: 'tags'
      }
    };
    component = TestUtils.renderIntoDocument(<BookmarkApp {...intlDataFixture} />);
  });

  it('renders a dom element', function() {
    expect(component.getDOMNode().tagName.toLowerCase()).to.be.not.empty;
  });

  it('renders a BookmarkForm component', function() {
    var formComponent = TestUtils.findRenderedComponentWithType(component, BookmarkForm);
    expect(formComponent).to.be.ok;
  });

  it('renders a BookmarkList component', function() {
    var listComponent = TestUtils.findRenderedComponentWithType(component, BookmarkList);
    expect(listComponent).to.be.ok;
  });
});
{'fraction_non_alphanumeric': 0.16444444444444445, 'fraction_numerical': 0.0, 'mean_word_length': 4.2905982905982905, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1662534', 'n_tokens_mistral': 757, 'n_tokens_neox': 747, 'n_words': 133}