UNPKG

breact

Version:
28 lines (18 loc) 389 B
/** * Test case for once. * Runs with mocha. */ 'use strict' const once = require('../lib/once.js') const assert = require('assert') const co = require('co') describe('once', function () { this.timeout(3000) before(() => co(function * () { })) after(() => co(function * () { })) it('Once', () => co(function * () { })) }) /* global describe, before, after, it */