breact
Version:
Browser react utility
28 lines (18 loc) • 389 B
JavaScript
/**
* Test case for once.
* Runs with mocha.
*/
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 */