Updated tests.

This commit is contained in:
Mario Basic
2015-06-18 14:05:41 +02:00
parent dd2263d37e
commit 82ebeb2d65
6 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
jest.dontMock('../../assets/js/components/Navbar.react.js');
jest.dontMock('../../assets/js/components/Navbar.jsx');
describe('Navbar', function() {
var React, Navbar, TestUtils, Component;
@@ -6,7 +6,7 @@ describe('Navbar', function() {
beforeEach(function() {
// Setup our tools
React = require('react/addons');
Navbar = require('../../assets/js/components/Navbar.react.js');
Navbar = require('../../assets/js/components/Navbar.jsx');
TestUtils = React.addons.TestUtils;
// Create the React component here using TestUtils and store into Component
});