rename __tests__ to tests to fix #20
This commit is contained in:
17
tests/components/MainList.react.jest.js
Normal file
17
tests/components/MainList.react.jest.js
Normal 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);
|
||||
});
|
||||
});
|
||||
17
tests/components/Navbar.react.jest.js
Normal file
17
tests/components/Navbar.react.jest.js
Normal 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);
|
||||
});
|
||||
});
|
||||
17
tests/components/Wakatime.react.jest.js
Normal file
17
tests/components/Wakatime.react.jest.js
Normal 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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user