UNPKG

@opstarts/chimp

Version:

Develop acceptance tests & end-to-end tests with realtime feedback.

13 lines (12 loc) 209 B
var Fiber = require('fibers'); try { Fiber(function() { function foo() { var hello = Math.random(); foo(); } foo(); }).run(); } catch (err) { err.name === 'RangeError' && console.log('pass'); }