1 | /**
|
2 | * Test case for apemanNeed.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const apemanNeed = require('../lib/apeman_need.js')
|
8 | const assert = require('assert')
|
9 |
|
10 | describe('apeman-need', () => {
|
11 | it('Run command.', (done) => {
|
12 | apemanNeed({
|
13 | configuration: require.resolve('../doc/mocks/mock-Apemanfile01.js')
|
14 | }).then(
|
15 | () => done(),
|
16 | (err) => assert.ifError(err)
|
17 | )
|
18 | })
|
19 | })
|
20 |
|
21 | /* global describe, before, after, it */
|