rename __tests__ to tests to fix #20

This commit is contained in:
Alan Hamlett
2015-06-10 11:21:05 -07:00
parent 9d271188b1
commit 61b8a84945
7 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
jest.dontMock('../../assets/js/components/MainList.react.js');
describe('MainList', function() {
var React, MainList, TestUtils, Component;
beforeEach(function() {
// Setup our tools
React = require('react/addons');
MainList = require('../../assets/js/components/MainList.react.js');
TestUtils = React.addons.TestUtils;
// Create the React component here using TestUtils and store into Component
});
it('should work', function() {
expect(2 + 2).toEqual(4);
});
});

View File

@@ -0,0 +1,17 @@
jest.dontMock('../../assets/js/components/Navbar.react.js');
describe('Navbar', function() {
var React, Navbar, TestUtils, Component;
beforeEach(function() {
// Setup our tools
React = require('react/addons');
Navbar = require('../../assets/js/components/Navbar.react.js');
TestUtils = React.addons.TestUtils;
// Create the React component here using TestUtils and store into Component
});
it('should work', function() {
expect(2 + 2).toEqual(4);
});
});

View File

@@ -0,0 +1,17 @@
jest.dontMock('../../assets/js/components/Wakatime.react.js');
describe('Wakatime', function() {
var React, Wakatime, TestUtils, Component;
beforeEach(function() {
// Setup our tools
React = require('react/addons');
Wakatime = require('../../assets/js/components/Wakatime.react.js');
TestUtils = React.addons.TestUtils;
// Create the React component here using TestUtils and store into Component
});
it('should work', function() {
expect(2 + 2).toEqual(4);
});
});