1 | /**
|
2 | * Test case for index.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const index = require('../lib/index')
|
8 | const assert = require('assert')
|
9 | const co = require('co')
|
10 |
|
11 | describe('index', () => {
|
12 | before(() => co(function * () {
|
13 | }))
|
14 |
|
15 | after(() => co(function * () {
|
16 | }))
|
17 |
|
18 | it('index', () => co(function * () {
|
19 | for (let name of Object.keys(index)) {
|
20 | assert.ok(index[ name ], `${name} should be defined`)
|
21 | }
|
22 | }))
|
23 | })
|
24 |
|
25 | /* global describe, before, after, it */
|