Updated tests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/Alert.react.js');
|
jest.dontMock('../../assets/js/components/Alert.jsx');
|
||||||
|
|
||||||
describe('Alert', function() {
|
describe('Alert', function() {
|
||||||
var React, Alert, TestUtils, Component;
|
var React, Alert, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('Alert', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
Alert = require('../../assets/js/components/Alert.react.js');
|
Alert = require('../../assets/js/components/Alert.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/MainList.react.js');
|
jest.dontMock('../../assets/js/components/MainList.jsx');
|
||||||
|
|
||||||
describe('MainList', function() {
|
describe('MainList', function() {
|
||||||
var React, MainList, TestUtils, Component;
|
var React, MainList, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('MainList', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
MainList = require('../../assets/js/components/MainList.react.js');
|
MainList = require('../../assets/js/components/MainList.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/Navbar.react.js');
|
jest.dontMock('../../assets/js/components/Navbar.jsx');
|
||||||
|
|
||||||
describe('Navbar', function() {
|
describe('Navbar', function() {
|
||||||
var React, Navbar, TestUtils, Component;
|
var React, Navbar, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('Navbar', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
Navbar = require('../../assets/js/components/Navbar.react.js');
|
Navbar = require('../../assets/js/components/Navbar.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/Options.react.js');
|
jest.dontMock('../../assets/js/components/Options.jsx');
|
||||||
|
|
||||||
describe('Options', function() {
|
describe('Options', function() {
|
||||||
var React, Options, TestUtils, Component;
|
var React, Options, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('Options', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
Options = require('../../assets/js/components/Options.react.js');
|
Options = require('../../assets/js/components/Options.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/SitesList.react.js');
|
jest.dontMock('../../assets/js/components/SitesList.jsx');
|
||||||
|
|
||||||
describe('SitesList', function() {
|
describe('SitesList', function() {
|
||||||
var React, SitesList, TestUtils, Component;
|
var React, SitesList, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('SitesList', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
SitesList = require('../../assets/js/components/SitesList.react.js');
|
SitesList = require('../../assets/js/components/SitesList.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
jest.dontMock('../../assets/js/components/Wakatime.react.js');
|
jest.dontMock('../../assets/js/components/Wakatime.jsx');
|
||||||
|
|
||||||
describe('Wakatime', function() {
|
describe('Wakatime', function() {
|
||||||
var React, Wakatime, TestUtils, Component;
|
var React, Wakatime, TestUtils, Component;
|
||||||
@@ -6,7 +6,7 @@ describe('Wakatime', function() {
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
// Setup our tools
|
// Setup our tools
|
||||||
React = require('react/addons');
|
React = require('react/addons');
|
||||||
Wakatime = require('../../assets/js/components/Wakatime.react.js');
|
Wakatime = require('../../assets/js/components/Wakatime.jsx');
|
||||||
TestUtils = React.addons.TestUtils;
|
TestUtils = React.addons.TestUtils;
|
||||||
// Create the React component here using TestUtils and store into Component
|
// Create the React component here using TestUtils and store into Component
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user