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
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
jest.dontMock('../../assets/js/components/MainList.jsx');
|
||||
|
||||
describe('MainList', function() {
|
||||
var React, MainList, TestUtils, Component;
|
||||
describe('MainList', function () {
|
||||
var React, MainList, TestUtils, Component;
|
||||
|
||||
beforeEach(function() {
|
||||
// Setup our tools
|
||||
React = require('react/addons');
|
||||
MainList = require('../../assets/js/components/MainList.jsx');
|
||||
TestUtils = React.addons.TestUtils;
|
||||
// Create the React component here using TestUtils and store into Component
|
||||
});
|
||||
beforeEach(function () {
|
||||
// Setup our tools
|
||||
React = require('react/addons');
|
||||
MainList = require('../../assets/js/components/MainList.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);
|
||||
});
|
||||
});
|
||||
it('should work', function () {
|
||||
expect(2 + 2).toEqual(4);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user