breact
Version:
Browser react utility
29 lines (20 loc) • 457 B
JavaScript
/**
* Test case for create.
* Runs with mocha.
*/
const create = require('../lib/create.js')
const assert = require('assert')
const co = require('co')
describe('create', function () {
this.timeout(3000)
before(() => co(function * () {
}))
after(() => co(function * () {
}))
it('Create', () => co(function * () {
let created = create('div', {})
assert.ok(created)
}))
})
/* global describe, before, after, it */