Updated readme and screenshots. Added and updated tests.
This commit is contained in:
@@ -21,11 +21,11 @@ Installation
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Development instructions
|
## Development instructions
|
||||||
|
|
||||||
|
|||||||
BIN
screenshots/sc_7-options2.png
Normal file
BIN
screenshots/sc_7-options2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
screenshots/sc_7-options3.png
Normal file
BIN
screenshots/sc_7-options3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
screenshots/sc_7-options4.png
Normal file
BIN
screenshots/sc_7-options4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -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() {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
17
tests/components/SitesList.react.jest.js
Normal file
17
tests/components/SitesList.react.jest.js
Normal 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);
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user