1 | /**
|
2 | * Test case for index.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const index = require('../lib/index.js')
|
8 | const co = require('co')
|
9 | const assert = require('assert')
|
10 |
|
11 | describe('index', () => {
|
12 | before(() => co(function * () {
|
13 | }))
|
14 |
|
15 | after(() => co(function * () {
|
16 | }))
|
17 |
|
18 | it('Eval props.', () => co(function * () {
|
19 | assert.ok(index.create)
|
20 | }))
|
21 |
|
22 | it('Create', () => co(function * () {
|
23 | let created = index.create({})
|
24 | assert.ok(created)
|
25 | }))
|
26 | })
|
27 |
|
28 | /* global describe, before, after, it */
|