Updated with latest version of react boilerplate
This commit is contained in:
11
specs/App-spec.js
Normal file
11
specs/App-spec.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var App = require('./../app/App.js');
|
||||
var TestUtils = require('react-addons').TestUtils;
|
||||
|
||||
describe("App", function() {
|
||||
|
||||
it("should be wrapped with a div", function() {
|
||||
var app = TestUtils.renderIntoDocument(App());
|
||||
expect(app.getDOMNode().tagName).toEqual('DIV');
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user