With updated deps

This commit is contained in:
Christian Alfoni
2014-08-20 19:50:48 +02:00
parent 6d6fca4856
commit d4fd322df6
24 changed files with 49826 additions and 3 deletions

18
tests/App-test.js Executable file
View File

@@ -0,0 +1,18 @@
/** @jsx React.DOM */
var expect = require('chai').expect;
describe('App', function() {
it('has the text Hello world!', function() {
var React = require('react/addons');
var App = require('../app/App.js');
var TestUtils = React.addons.TestUtils;
var app = TestUtils.renderIntoDocument(
<App/>
);
var h1 = TestUtils.findRenderedDOMComponentWithTag(app, 'h1');
expect(h1.getDOMNode().textContent).to.equal('Hello world!');
});
});