UNPKG

435 BJavaScriptView Raw
1/**
2 * Test case for index.
3 * Runs with mocha.
4 */
5'use strict'
6
7const index = require('../lib/index.js')
8const assert = require('assert')
9const co = require('co')
10
11describe('index', () => {
12 before(() => co(function * () {
13 }))
14
15 after(() => co(function * () {
16 }))
17 it('Create an app.', () => co(function * () {
18 assert.ok(index)
19 assert.equal(typeof index, 'function')
20 }))
21})
22
23/* global describe, before, after, it */