UNPKG

apemanerror

Version:
29 lines (20 loc) 495 B
/** * Test case for apemanerror. * Runs with mocha. */ 'use strict' const Apemanerror = require('../lib/apemanerror.js') const assert = require('assert') const co = require('co') describe('apemanerror', function () { this.timeout(3000) before(() => co(function * () { })) after(() => co(function * () { })) it('Apemanerror', () => co(function * () { let error = new Apemanerror('000', 'hoge', {}) assert.ok(error) })) }) /* global describe, before, after, it */