1 import 'jsdom-global/register';
2 import { configure, mount, render, shallow } from 'enzyme';
3 import InfernoEnzymeAdapter = require('enzyme-adapter-inferno');
4 import { should } from 'fuse-test-runner';
5 import { Component } from 'inferno';
6 import { renderToSnapshot } from 'inferno-test-utils';
7 import About from './About';
8 configure({ adapter: new InfernoEnzymeAdapter() });
10 export class AboutTest {
11 public 'Should be okay'() {
12 const wrapper = mount(<About />);
13 wrapper.find('.button').simulate('click');
14 const countText = wrapper.find('.count').text();
15 should(countText).beString().equal('1');