1 | /**
|
2 | * Test for index.js
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 |
|
8 | const index = require('../lib/index.js')
|
9 | const co = require('co')
|
10 | const assert = require('assert')
|
11 |
|
12 | it('Eval properties.', () => co(function * () {
|
13 | Object.keys(index).forEach((key) => {
|
14 | assert.ok(key)
|
15 | assert.ok(index[ key ])
|
16 | })
|
17 | assert.ok(index.resolve)
|
18 | }))
|
19 |
|
20 | /* global it */
|