Files
browser-wakatime/tests/components/Options.react.jest.js
Vu Nguyen 9ef655ac3b Setup CI tests (#100)
* use @xarc/xrun to streamline tasks in an imperative manner

* add lint-staged/husky for git hook tasks

* run prettier across all files

* fixing tests

* add ci test workflow

* add a ci workflow

* remove precommit in favor of husky

* add .prettierrc.js

* reformat with prettier
2021-01-13 21:05:05 -08:00

18 lines
490 B
JavaScript

jest.dontMock('../../assets/js/components/Options.jsx');
describe('Options', function () {
var React, Options, TestUtils, Component;
beforeEach(function () {
// Setup our tools
React = require('react/addons');
Options = require('../../assets/js/components/Options.jsx');
TestUtils = React.addons.TestUtils;
// Create the React component here using TestUtils and store into Component
});
it('should work', function () {
expect(2 + 2).toEqual(4);
});
});