apemanerror
Version:
Error parser for apeman.
31 lines (22 loc) • 597 B
JavaScript
/**
* Test case for buildin.
* Runs with mocha.
*/
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 */