UNPKG

apemanmodule

Version:
27 lines (19 loc) 451 B
/** * Test case for fromFiles. * Runs with mocha. */ 'use strict' const fromFiles = require('../lib/modularizing/from_files.js') const assert = require('assert') const co = require('co') describe('from-files', () => { before(() => co(function * () { })) after(() => co(function * () { })) it('From files', () => co(function * () { let m = fromFiles(__dirname) assert.ok(m) })) }) /* global describe, before, after, it */