/**
 * Test case for apTheme.
 * Runs with mocha.
 */
"use strict";

const ApTheme = require('../lib/ap_theme.js'),
    React = require('react'),
    ReactDOM = require('react-dom/server'),
    assert = require('assert');

describe('ap-theme', () => {

    before((done) => {
        done();
    });

    after((done) => {
        done();
    });


    it('Render component', (done) => {
        let html = ReactDOM.renderToString(
            React.createElement('div',
                {},
                React.createElement(ApTheme, {})
            )
        );
        console.log(html);
        assert.ok(html);
        done();
    });
});

