Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
John Edward committed Apr 6, 2018
2 parents b69d991 + 6849b04 commit d21426c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions test/client/components/home.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* eslint-disable import/no-unresolved */
import React from 'react';
import { shallow, configure } from 'enzyme';
import { expect } from 'chai';
import Adapter from 'enzyme-adapter-react-16';
import Home from '../../../imports/ui/components/home';

// TODO: centralized this config
configure({ adapter: new Adapter() });

describe('Home', () => {
it('should render home layout', () => {
const wrapper = shallow(<Home />);
expect(wrapper.find('.lockscreen-wrapper').length).to.equal(1);
});
});
16 changes: 0 additions & 16 deletions test/client/components/index.spec.js

This file was deleted.

0 comments on commit d21426c

Please sign in to comment.