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

@@ -21,11 +21,11 @@ Installation
![SC open](./screenshots/sc_6-green.png) ![SC open](./screenshots/sc_6-green.png)
![SC open](./screenshots/sc_6-red.png)
![SC open](./screenshots/sc_6-open.png) ![SC open](./screenshots/sc_6-open.png)
![Options SC](./screenshots/sc_4-options.png) ![Options SC](./screenshots/sc_7-options2.png)
![Options SC](./screenshots/sc_7-options4.png)
## Development instructions ## Development instructions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

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

View File

@@ -1,6 +1,6 @@
jest.dontMock('../../assets/js/components/Options.react.js'); jest.dontMock('../../assets/js/components/Options.react.js');
describe('Wakatime', function() { describe('Options', function() {
var React, Options, TestUtils, Component; var React, Options, TestUtils, Component;
beforeEach(function() { 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);
});
});