Skip to content

Commit

Permalink
define leak test
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Oct 18, 2015
1 parent 688e433 commit 0e43c76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1092,4 +1092,9 @@ asyncTest('Loading Node core modules', function() {
});
});

asyncTest('No global define leak', function() {
ok(typeof define == 'undefined');
start();
});

})(typeof window == 'undefined' ? global : window);

0 comments on commit 0e43c76

Please sign in to comment.