/**
 * Test case for apIcon.
 * Runs with mocha.
 */
'use strict'

const ApIcon = require('../lib/ap_icon.js').default
const React = require('react')
const ReactDOM = require('react-dom/server')
const assert = require('assert')

describe('ap-icon', () => {
  before((done) => {
    done()
  })

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

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

/* global describe, before, after, it */
