Updated readme and screenshots. Added and updated tests.

This commit is contained in:
Mario Basic
2015-06-18 00:34:45 +02:00
parent bb4fd0d176
commit 5788f0755d
7 changed files with 22 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
jest.dontMock('../../assets/js/components/Alert.react.js');
describe('Wakatime', function() {
describe('Alert', function() {
var React, Alert, TestUtils, Component;
beforeEach(function() {

View File

@@ -1,6 +1,6 @@
jest.dontMock('../../assets/js/components/Options.react.js');
describe('Wakatime', function() {
describe('Options', function() {
var React, Options, TestUtils, Component;
beforeEach(function() {

View File

@@ -0,0 +1,17 @@
jest.dontMock('../../assets/js/components/SitesList.react.js');
describe('SitesList', function() {
var React, SitesList, TestUtils, Component;
beforeEach(function() {
// Setup our tools
React = require('react/addons');
SitesList = require('../../assets/js/components/SitesList.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);
});
});