busterjs/buster — Issue #114: TypeError: this.proxy is undefined
Author: mroderick
Created: 2012-02-29 11:08:54+00:00
State: open

The following code (also on https://gist.github.com/1939767) triggers "TypeError: this.proxy is undefined"

/*jslint white:true, browser:true, plusplus:true */
/*global
FailFast,
buster,
assert,
refute
*/

(function(){
"use strict";

buster.testCase("Something",{

"test something" : function(){
refute.exception(function(){
throw new TypeError("Ooops!");
});
}
});
}());

Buster was updated minutes before:

$ buster --version
Buster.JS version 0.4.5 beta2