UNPKG

352 BJavaScriptView Raw
1/**
2 * Test for index.js
3 * Runs with mocha.
4 */
5
6'use strict'
7
8const index = require('../lib/index.js')
9const co = require('co')
10const assert = require('assert')
11
12it('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 */