UNPKG

438 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')
9
10describe('index', () => {
11 before(() => {
12 })
13 after(() => {
14 })
15 it('Eval props.', () => {
16 assert.ok(Object.keys(index).length > 0)
17 for (let name of Object.keys(index)) {
18 assert.ok(index[ name ], `${name} should exists`)
19 }
20 })
21})
22
23/* global describe, before, after, it */