UNPKG

498 BJavaScriptView Raw
1/**
2 * Test case for apemanDemoCmd.
3 * Runs with mocha.
4 */
5'use strict'
6
7const apemanDemoCmd = require('../lib/apeman_demo_cmd.js')
8const assert = require('assert')
9
10describe('apeman-demo-cmd', () => {
11 before((done) => {
12 done()
13 })
14
15 after((done) => {
16 done()
17 })
18
19 it('Command', (done) => {
20 apemanDemoCmd({})
21 .then(() => {
22 done()
23 })
24 .catch((err) => {
25 assert.ifError(err)
26 done()
27 })
28 })
29})
30
31/* global describe, before, after, it */