UNPKG

apemanerror

Version:
31 lines (22 loc) 597 B
/** * Test case for buildin. * Runs with mocha. */ 'use strict' const buildin = require('../lib/buildin.js') const assert = require('assert') const co = require('co') describe('buildin', function () { this.timeout(3000) before(() => co(function * () { })) after(() => co(function * () { })) it('Buildin', () => co(function * () { assert.ok(buildin.signupProveError('hoge')) assert.ok(buildin.signinFailError('hoge')) assert.ok(buildin.signinRequiredError('hoge')) assert.ok(buildin.signInvalidError('hoge')) })) }) /* global describe, before, after, it */