summaryrefslogtreecommitdiff
path: root/mocha_test/forever.js
diff options
context:
space:
mode:
Diffstat (limited to 'mocha_test/forever.js')
-rw-r--r--mocha_test/forever.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/mocha_test/forever.js b/mocha_test/forever.js
index ec21ed7..e00a22d 100644
--- a/mocha_test/forever.js
+++ b/mocha_test/forever.js
@@ -1,6 +1,5 @@
var async = require('../lib');
var expect = require('chai').expect;
-var isBrowser = require('./support/is_browser');
describe('forever', function(){
context('function is asynchronous', function(){
@@ -24,8 +23,7 @@ describe('forever', function(){
});
context('function is synchronous', function(){
- it('does not cause a stack overflow', function(done){
- if (isBrowser()) return done(); // this will take forever in a browser
+ it('does not cause a stack overflow @nodeonly', function(done){ // this will take forever in a browser
var counter = 0;
function addOne(callback) {
counter++;