lepu-test-platform-web/node_modules/fibers/test/started.js

9 lines
143 B
JavaScript
Raw Normal View History

// gh-12
var Fiber = require('fibers');
Fiber(function() {
if (!Fiber.current.started) {
throw new Error;
}
}).run();
console.log('pass');